Need Security Help...

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Wuzzbent
-


Joined: 09 Mar 2004
Posts: 1

PostPosted: Fri Jun 18, 2004 6:16 am    Post subject: Need Security Help... Reply with quote

I have my site up and working fine.. I am using a couple of various Perl scripts and I'm a bit concerned about security.. I have my \cgi-bin directory mapped through a virtual path.. problem is a couple of the scripts I use don't use encryption and anyone who want's to snoop around could easily figure out how to read the config files and open them retrieving the passwords.. How do I lock out prying eyes in my \cgi-bin directory without effecting the ability of the scripts?

Thanks a bunch..

-Wuzzbent

Update : Forgot to mention I'm on a Windows XP machine...
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Jun 18, 2004 7:08 am    Post subject: Reply with quote

You can add a custom index.html and drop
that in the cgi-bin directory or you can block
all directory indexing. Thats all you can do !
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Fri Jun 18, 2004 7:10 am    Post subject: Reply with quote

(This would be a lot easier on a Linux machine...)

So you have these plain text files sitting with passwords or other sensitive data that anyone who can guess the filename can read? My first response would be to encrypt it! But I don't think you want to do that.

Are you able to change the location of the data files? If you change them to a location that is not readable by anyone on the outside (IE: Out of the root directory), but you can still type C:\path\to\file.txt in the script, as it executes locally, then you will be safe.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Fri Jun 18, 2004 4:50 pm    Post subject: Reply with quote

Hi Wuzzbent--

What I have done is simply to password protect the sensitive files that are part of the cgi scripts you are using. They will still be read by the script, though they will be not readable over the web.

Regards,
Axis
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group