![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, What are various ways and the best way to make a secure section of a web site? |
|
Do I need a database? |
|
Or can I do it somehow with a text file and javascript?... |
#3
| |||
| |||
|
|
Using SSL (HTTPS) for communication between browsers and the server, and some script (written by someone who knows how to write server side scripts securely[1]) that accepts the credentials and then gives access to the information (or otherwise). |
#4
| |||
| |||
|
|
Hi, What are various ways and the best way to make a secure section of a web site? Example: I need two secure areas: 1.. all members, and 2.. conference attendees so that they can access presentations. I also would like to institute forms for online membership applications/renewals and online meeting registration. Do I need a database? Or can I do it somehow with a text file and javascript?... I guess I am looking for the simplest way. |
#5
| |||
| |||
|
|
If the site is running on Apache, then .htaccess files and .passwd files are pretty simple. I presume the Infernal Infection Spreader has something similar. |
#6
| |||
| |||
|
|
Stephen Poley wrote: If the site is running on Apache, then .htaccess files and .passwd files are pretty simple. I presume the Infernal Infection Spreader has something similar. Unless your provider for some weird reason doesn't have htaccess on... So I used php with sessions on my own site. Just create a session based on login credentials and use a "if session is true" to encapsulate all content that needs protection. It's pretty easy once you get the hang of it. |
#7
| |||
| |||
|
|
Probably quite a lot disable .htaccess (due to actual or feared performance issues), but I would expect most of them not to provide PHP either. PHP on and .htaccess off strikes me as a little unusual, but apparently it happens! |
![]() |
| Thread Tools | |
| Display Modes | |
| |