hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : CGI/php
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

CGI/php

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-04-2002, 05:03 AM
babak babak is offline
WHT Addict
 
Join Date: Mar 2002
Posts: 162
*

CGI/php


Hi guys,


If you run the folowing php-scrip:
<?php readfile('/etc/passwd'); ?>
You get the passwords!! So I set php in safemode.

1.) Is this also avaibale in cgi?

IF YES: whitch script do you need?
IF YES: How to turned off? How to not allow anybody to see files in a dir after /home/sites/ ?

If NO: THANKS GOD!!!

Regards,
Babak

Reply With Quote


Sponsored Links
  #2  
Old 06-04-2002, 06:38 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
Using Perl on a server is actually a bigger security risk than PHP.

Basically you can't completely block out Perl even with a CGI Wrapper e.g. try installing something like admin pro on your system.

It allows you to view all the filesystem but you can't read them.

Reply With Quote
  #3  
Old 06-04-2002, 06:42 AM
roly roly is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 956
Yup
With cgiwrap (search for it @ www.google.com)

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting 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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?