Beginner Programming
 
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 ForumsOtherBeginner Programming

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 July 22nd, 2000, 02:57 PM
mashadi mashadi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: brussels
Posts: 7 mashadi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to mashadi
hi everyone,

I am using perl and mysql and since one month searching for a security script to secure my page.
What I need is I have to call a script(I have written the connection to mysql part but I can not send the result to http://myname.com/cgi-bin/myname.cg...$variable2&.... ) with a ID and it has to look the ID in my database, get the results and then send it to another cgi like: http://myname.com/cgi-bin/myname.cg...$variable2&....
This is to prevent people seeing my source code so they can not change my data sending to the script.
Could anyone help me with this topic.
Thank in advance...

------------------

Reply With Quote
  #2  
Old July 24th, 2000, 01:06 PM
ledjon
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I don't quite understand what your asking here. If this is data being sent from a form, use the POST method. Other than that, I don't understand.

Reply With Quote
  #3  
Old July 24th, 2000, 07:16 PM
supine supine is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 35 supine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mashadi:
What I need is I have to call a script(I have written the connection to mysql part but I can not send the result to http://myname.com/cgi-bin/myname.cg...$variable2&.... ) with a ID and it has to look the ID in my database, get the results and then send it to another cgi like: http://myname.com/cgi-bin/myname.cg...$variable2&....
[/quote]
What it sounds like you need to do is consolidate your code into a single page, make a call to the database to retrieve the id then feed it into a second stage (what you currently have as the second cgi).
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>This is to prevent people seeing my source code so they can not change my data sending to the script.
[/quote]
Umm... not quite sure what you mean here, but as long as the permissons the file are set right and the webserver is configure properly people can't read your script, they only get the output. If you don't want them to see particular variable values then you need to build sessions so they get a cookie with an ID and you store the variables server side.

HTH
Marty


[This message has been edited by supine (edited July 24, 2000).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > security

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