Home Forums Gamescan Chat42 About
* Login   * Register * FAQ    * Search
It is currently Mon 03-23-2026 9:34AM

All times are UTC - 6 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Anyone experienced w/ cgi or coldfusion?
PostPosted: Fri 03-05-2004 2:13PM 
Offline
Colonel
User avatar

Joined: Mon 10-13-2003 9:35PM
Posts: 657
Location: donnie's pants in tj1n

Source: TJ North
I want to add a login/pw section to this website, but I'm somewhat clueless. Been looking around on the internet, but I dont even know what the best thing to use is.

thanks ;D

_________________
«Ðë†røì† HãrÐǺr€ ©»

fuck around and kill yourself.


Top
 Profile  
Report this post    Reply with quote  
 Post subject:
PostPosted: Fri 03-05-2004 4:08PM 
Offline
Major

Joined: Wed 03-19-2003 12:40AM
Posts: 343

Source: Delta Tau Delta
It's not cgi or coldfusion, if you want basic passwording. If you put a .htaccess file in the directory, with usernames and their encrypted passwords, it'll pop-up one of those login screens. Look up how to make the .htaccess file somewhere on the internerd.


Top
 Profile  
Report this post    Reply with quote  
 Post subject:
PostPosted: Mon 03-08-2004 3:00AM 
Offline
Colonel
User avatar

Joined: Mon 10-13-2003 9:35PM
Posts: 657
Location: donnie's pants in tj1n

Source: TJ North
erm, what about php/sql?

_________________
«Ðë†røì† HãrÐǺr€ ©»

fuck around and kill yourself.


Top
 Profile  
Report this post    Reply with quote  
 Post subject:
PostPosted: Mon 03-08-2004 4:41AM 
Offline
Pointless Post Specialist
User avatar

Joined: Mon 04-21-2003 2:54PM
Posts: 1826
Location: KC

Source: TJ North
.htaccess is pretty damn easy. You can make it block ip's too. I've got a few hidden directories on my site that only allow certain computers to access them.

_________________
Aw man, I shot Marvin in the Face!


Top
 Profile  
Report this post    Reply with quote  
 Post subject:
PostPosted: Mon 03-08-2004 9:54AM 
Offline
I am the Walrus
User avatar

Joined: Mon 09-01-2003 4:09PM
Posts: 318
Location: Blah blah land

Source: CompSci Building
If you use an .htaccess method, be sure to restrict the permissions on the file so that just you can edit it and it can't be viewed from the outside. Also, do consider that even when you use the .htaccess method that the data going over the internet is very easy to get ahold of, but it's easy for just a personal site.

_________________
Summon the meteors.


Top
 Profile E-mail  
Report this post    Reply with quote  
 Post subject:
PostPosted: Mon 03-08-2004 9:56AM 
Offline
I am the Walrus
User avatar

Joined: Mon 09-01-2003 4:09PM
Posts: 318
Location: Blah blah land

Source: CompSci Building
Also, if this server is running IIS rather than Apache you'll be better off with other methods.

_________________
Summon the meteors.


Top
 Profile E-mail  
Report this post    Reply with quote  
 Post subject:
PostPosted: Mon 03-08-2004 1:36PM 
Offline
Cookie Monster
Cookie Monster
User avatar

Joined: Mon 05-12-2003 6:27PM
Posts: 423
Location: Rolla

Source: TJ North
really.. .htaccess is not a viable alternative for IIS.
It is the best for apache... but you have to make sure your server is configured to use them...

PHP/MySQL is good... but if you code it wrong... I could get in. It also means you would have to be running a mysql server and have php setup.

do not use java script for this type of thing.

CGI might be your best bet if you want to transfer it cross platform/server... but I only make cgis with c/c++...

if you want to write one in c++... I have a sweet Class that is a MUST for writing c++ cgi's. cgi, php, htaccess.. they pretty much all work in the same way... they read a password list and let you. If you want to write a cgi though.. you have to be clever. You could make it like this:
~.com/bmpfg8/cgi-bin/access.cgi?file=/private/index.html&md5=21l34j23kj42342j3lkj3kj43j42

You can set the md5 variable to equal some cookie value so you don't have to enter it every time you want to call the access.cgi. It would compare that string to an encrypted password list.

so basically... everything other than writing your own cgi is easier.
you might not be able to use htaccess... php/mysql is also easy... if you want quick/low security... just use javascript... it will keep those out that can't read code. Some javascript thing make you create a directory like ~/1232j3k2j1l32kj1l23/ . The dir is usually some encrypted password.

I use .htaccess.. but that is just me.


Top
 Profile  
Report this post    Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 7 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group