Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 protection ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

TommiH69
Expert

Germany
54 Posts

Posted - 09 Apr 2013 :  15:06:48  Show Profile  Reply with Quote
Hai,

another problem. I have a login-page, that works great, after changing the ending to php - but now the problem:

I can only change to the secure-area, if I enter the name/pw, put if I jump to the secure area directly - it's possible.

I know .htaccess, BUT - is it possible in any way, to transfer the information of the loginscript (PHP Login 1.2 - Lorenzi Davide) to .htaccess?
Or is there another way to save the secret-area (some pages)? My problem - at the end of the project there will be between 20 and 750! login-names/passwords :(

Tommi

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Apr 2013 :  09:52:22  Show Profile  Visit s.dav's Homepage  Reply with Quote
You simply need to put a "PHP Secure Page" extension on your Secure Area Pages and you're done
You'll be able to access these pages only after a successful login.

Regards, Davide
Go to Top of Page

TommiH69
Expert

Germany
54 Posts

Posted - 11 Apr 2013 :  15:50:38  Show Profile  Reply with Quote
Grr - 10 minutes ago I found it ;) - but it did not work - I thought.

Yes, but after deleting the cache infos or using iexplorer/chrome instead of firefox - now it is okay! - great!

And for this project it is quite sufficient, I love dhe from day to day more ;)

But another question - if I want to insert users with an editor, I have to change

index_LogincheckLogin.php
AND
index_Extension2checkLogin.php
?

And a last question, I'l tried ASP - but my domain-hoster doesn't support it - so I delete ASP-Login out of my project - BUT when I look with a FTP-Client onto my WebSpace, the ASP-Files are there?
Should I delete ALL files on the webspace after deleting such things from a project? (only the DHE-generatet Area/Files, this is clear ;) )

Tommi
Go to Top of Page

TommiH69
Expert

Germany
54 Posts

Posted - 11 Apr 2013 :  15:52:48  Show Profile  Reply with Quote
quote:
Originally posted by TommiH69

Grr - 10 minutes ago I found it ;) - but it did not work - I thought.

Yes, but after deleting the cache infos or using iexplorer/chrome instead of firefox - now it is okay! - great!

And for this project it is quite sufficient, I love dhe from day to day more ;)

But another question - if I want to insert users with an editor, I have to change

index_LogincheckLogin.php
AND
index_Extension2checkLogin.php
?

And a last question, I'l tried ASP - but my domain-hoster doesn't support it - so I delete ASP-Login out of my project - BUT when I look with a FTP-Client onto my WebSpace, the ASP-Files are there?
Should I delete ALL files on the webspace after deleting such things from a project? (only the DHE-generatet Area/Files, this is clear ;) )

Tommi

PS. is it possible to give the "PHP Secure Page" extension a defined dimension? Or is it enough to put the extension anywhere on the page?



Go to Top of Page

TommiH69
Expert

Germany
54 Posts

Posted - 11 Apr 2013 :  18:01:06  Show Profile  Reply with Quote
Oh, there is I problem, I think.

only in the file index_LogincheckLogin.php, there are the passwords, but if I change there the pws with my text-editor and copy the file to the webspace - everythin is okay.
BUT, if I export the dhe-project again, the manual added pws are deleted - so I have to copy the file every time seperately to the webspace?
(if I will administrate the php-file by myself an do this with an editor?)

Tommi
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Apr 2013 :  09:23:47  Show Profile  Visit s.dav's Homepage  Reply with Quote
Tommi,

1- you will be able to insert users in Dynamic HTML Editor, in the ASP/PHP login extension drawn on the page
2- if you used ASP extensions and your hosting provider doesn't support them you need to remove/change them to PHP, you need to delete additional files from your web space manually
3- you don't need to size the "PHP Secure Page", it is not a visible item

Regards, Davide
Go to Top of Page

TommiH69
Expert

Germany
54 Posts

Posted - 15 Apr 2013 :  13:18:06  Show Profile  Reply with Quote
Yes - all things work right!

But another question: If somebody has not given name/pw, the click on a link to a protected page gives

Not Found
The requested URL /Login.php was not found on this server.

Is it possible to change THIS page to an selfmade page?

Tommi
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 16 Apr 2013 :  08:47:11  Show Profile  Visit s.dav's Homepage  Reply with Quote
There is a property on the extension, in my site the user is redirected to the login page without problems.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000