Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Securing Your Site

Securing Your Site
Thread Tools
Mac Enthusiast
Join Date: Jul 2003
Status: Offline
Reply With Quote
Jul 25, 2005, 05:54 PM
 
I brought this issue up in the past, and the discussion quickly narrowed into an attempt to help me get a PHP script to work. Now, I am revisiting the issue of web security to get more widespread advice. First, let me explain my needs: I'd like to secure my website, and I only need it accesible to one person (me). I have technical data that I need to access on a regular basis. For various reasons, I chose to go the HTML-Web route rather than simply setting up a file server from which to download.

That said, I'd like to protect the site from outside eyes. In Phil Sherry's (Excellent) Book , I have read of at least two levels of security: one is to use .htpasswrd, and the other is to enable the _SSL module in an Apache server. I know of a third method which I have already done in the past: I bought a PHP app that turns each page into a php file, and the app uses a mysql database to grant or deny access.

Here's where I need advice: which method do folks recommend? While I already know how to use the PHP method- it requires a little work in that I have to paste code into every page, etc. It's not a huge deal, but it requires advanced planning, so that I do not have to go back and do it later.

On the other hand, the .htpasswrd seems to be the most simple method. And, the https method (using SSL) seems to be the most secure. I read about how to enable SSL on my mac, but it seems to involve several steps.

Given my needs, I was wondering what people think about the pros and cons of the above three methods. Any advice is appreciated.
     
Dedicated MacNNer
Join Date: Nov 1999
Status: Offline
Reply With Quote
Jul 25, 2005, 06:46 PM
 
Read this article:
http://httpd.apache.org/docs/1.3/howto/auth.html#basic

If you want a pretty good GUI for admining your Apache (and other servers) install download and install Webmin from www.webmin.com
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:23 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2