Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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
  #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: 8
<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


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway