| | |
Enter password to access folder on website
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
SORRY IV FOUND AN ANSWER (http://www.dynamicdrive.com/dynamicindex9/password.htm)
Ill solve somebody's thread someday! xD
But one thing, if you store your password in a text file the it is surely insecure. Storing it in script(in a server-side one) would secure to an extent cause others may not see your source-code hence the password, but you will always have to change the code whenever you want to change the password. By changin the code I mean changing the variable that stores the string.
that code is actually not too bad, i had a quick look at it yesterday... it's more secure than just "put a javascript index infront of private files" it works because no outsider knows the filename of the private file: and the encrypted password is used in the name of the private file... EDIT: the password isn't stored but a password that doesn't match up with the filename after a relatively simple 1-way cryptogram won't open any pages.
it might prove totally unmanageable for more than one or two pages though, and it's not a perfectly secure solution.
it might prove totally unmanageable for more than one or two pages though, and it's not a perfectly secure solution.
Last edited by MattEvans; Dec 9th, 2006 at 10:09 pm.
Plato forgot the nullahedron..
![]() |
Similar Threads
- can you password protect a folder? (Windows 95 / 98 / Me)
- password protect folder on a network (Network Security)
- Authenticator (Java)
- ?Password+Protection of External HDD? (Windows NT / 2000 / XP)
- Random problem... cant access passworded sites (Windows NT / 2000 / XP)
Other Threads in the HTML and CSS Forum
- Previous Thread: Linking
- Next Thread: Including header file using HTML
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






