Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 10th, 2000, 02:37 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Excellent article

This was a really good article. It summarised the points to watch out for in a comprehensible way, and then said what could be done about them. Please can we have more articles by this author?

Reply With Quote
  #2  
Old May 11th, 2000, 10:14 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Excellent article

http://www.koehntopp.de/kris/artikel/
Articles by Kristian Köhntopp

http://www.koehntopp.de/php
de.comp.lang.php FAQ (German)

Most of this is in German language, though.

Reply With Quote
  #3  
Old May 12th, 2000, 03:56 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Guarantees of Security using a Cookie file?? Just wondering..

Hello...
I am writing a menu system and using perl, cgi and html, I am trying to find a way to
keep "unwanted" users from "short-cutting" into pages (modules) before they enter used and password. I've done this by using the cookies file as the "holder" of the uid/password instead of the <url?uid=xx&pass=yyy> format... obviously dangerous since it shows up on the Location entry of your browser screen. But, to use the Cookies file as I'm doing, how "secure" might that be for keeping other users from obtaining this data. The reason I'm asking is that since I can do a "vi" to the cookies file, can others (hackers) have the same "bad delight" in doing the same thing?...

For discussion...

John McCormick

Reply With Quote
  #4  
Old May 20th, 2000, 02:28 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
About server security (very nice)

Hi!

This article is very usefull for me.
bcos 2 weeks back I saw this problem from my server itself.

I logged into one of our vds thru FTP , i can able to down load the other domain name files (include server side program also).

So this one is very critical one.

I f any body know how to encrypt the server side program (instead of text source file).
using any method it may solve the problem


Reply With Quote
  #5  
Old May 27th, 2000, 06:04 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Guarantees of Security using a Cookie file?? Just wondering..

Hi..
<br>
<br>
if a hacker would be allowed to be logged into the same server as you are, it could be possible for him to have read access to your files.
<br>
<br>
in case your hostingprovider has security up a little, for example by chrooted homedirs, that risk is gone..
<br>
<br>
also, is the cookies file accessible for example from http://www.you.com/cookies
<br>
or something like that?
<br>
<br>
if yes, it would be safer to move the cookies file under the documentroot of the webserver
<br>
(e.g. /home/you/public_html/ is your webservers documentroot and
<br>
/home/you/cookies is your cookie file directory..)
<br>
<br>
that way you can have the cookies stuff included by means of php3 or cgi, but not have it directly accesible through the web..
<br>
<br>
also, there IS a way for some sites to read the data out of your cookies due to a bug in the cookie code on most browsers..
<br>
Netscape said to have fixed that but not everyone has upgraded that off course..
<br>
and I wouldn't be surprised if it's still a live bug in IE.
<br>
<br>
what could be a more wise idea is to store sesion keys in a secure directory on your webserver..
<br>
if your server supports e.g. SuEXEC (apache)
<br>
then it will only be readable by you and your cgi programs... SuEXEC doesn't work with php3 as far as I know.. unless perhaps you use the cgi version.. (I always compile it straight into apache)
<br>
<br>
website security depends on so many things, and there is always the risk of someone "sniffing" what users are sending to your server and what the server sends back..
<br>
The only way to prevent that is by going to a SSL setup, where all data between server and client is encrypted.
<br>
<br>
greets,
<br>
Sin

Reply With Quote
  #6  
Old May 27th, 2000, 06:43 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: About server security (very nice)

Hi,
<br>
<br>
wat exactly do you mean with you can download other domainfiles and include progs?
<br>
<br>
as in you have read access to other users homedirs?
<br>
<br>
that is a very critical and dangerous one allright..
<br>
<br>
the solution would be for the owner / admin of the server to install a better and more secure ftpserver...
<br>
<br>
I know for one about BeroFTPd wich we use,
<br>
Bero doesn't allow anyone to go outside of his / her homedir, therefor not being able to browse through someone else's data.
<br>
<br>
BeroFTPd is available for free (open source)
<br>
from:
<br>
ftp://ftp.sunet.se/pub/nir/ftp/servers/BeroFTPD/
<br>
<br>
this is only if we're talking unix/linux servers here...
<br>
<br>
In case of an IIS server, there is a way to secure it, but that's one discription way to long to put here... (and honestly, I hate IIS)
<br>
<br>
Arjan Koole
<br>
The Netherlands

Reply With Quote
  #7  
Old May 28th, 2000, 11:43 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: About server security (very nice)

Hi

I got your msg , thanks for reply
we have the server in US (linux with apache web server).

The above probelm is there in our server.
I informed him , but still they are rectified .

If you have time pls send your email address

Thanks and Regards
K.Mariya





Reply With Quote
  #8  
Old May 29th, 2000, 04:14 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: About server security (very nice)

Hi,
<br>
<br>
should be easy to fix on a linux box :-)
<br>
<br>
the addy: arjan@tch666.com
<br>
<br>
greets,
<br>
Arjan Koole
<br>
The Netherlands

Reply With Quote
  #9  
Old June 4th, 2000, 03:17 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
using cat for remote php's

In "Faking web requests" part. What is the meaning of " ~/www < cat test.php".

What do i have to put instead of " ~/www" there?


Reply With Quote
  #10  
Old June 27th, 2000, 11:28 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Protecting GET/POST data

Utilizing a MAC (message authentication code) is the best way to protect data that can be modified client side. This works by sorting by key and concatenating all values of a GET/POST request... the resulting string is run through a one way hash and this hash is passed to the client w/ the rest of the key/value pairs. When another request is made, the application goes through the same process and compares both MACs... they should match unless the data has been tampered with. Perl programmers will want to use Digest::HMAC module to accomplish this. It works great.

Reply With Quote
  #11  
Old September 1st, 2000, 03:08 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Great info, but...

Very good article, I now realize that using the http_referer variable simply doesn't do it security-wise. Anyone know a good tutorial on how to implement seesion id in php4 to replace the http_referer checking?

Thanks,

Sebastian

Reply With Quote
  #12  
Old January 28th, 2002, 06:00 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #13  
Old February 22nd, 2002, 03:48 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #14  
Old May 27th, 2003, 09:57 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Webserver Security (Part II)

Webserver Security \(Part II\)

This second part of our two-part series on webserver security explores the problem of keeping private data in publicly accessible areas of you server and keeping data from untrustworthy sources from entering your system.

Please discuss this article in this thread. You can read the article here .

Reply With Quote
  #15  
Old May 28th, 2003, 09:47 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If you would like to see an article covering a particular topic, please post your request here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Webserver Security (Part II)

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap