Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Are Server Variables Secure?


I'm working on a shopping cart page. In page A (checkout) the user
enters their credit card information. On postback, if everything is
correct, it sends the user to page B (confirmation). My question is,
can I (or should I) use server variables to send CC information to page
B?

My boss doesn't want me to store this information in the SQL
database we're using. Obviously cookies are out of the question and so
is passing info through request.querystring, so I was thinking on using
session variables for this, but not sure if it's safe.
What should I do?




View Complete Forum Thread with Replies

Related Forum Messages:
Secure Session Variables
I am trying to develop a forum in asp. I want to try and make it as secure as possible. I understand that if someone knows or guesses a session ID they can post requests to the server and potentially gain unauthorised access. How can I go about doing this securely?

I did think about using random strings as session id's but then how could i check to see if the user is logged in if i dont know what the session id is.

View Replies !
Secure Are Session Variables
Example:
session("IsLoggedIn")=false

Can this be changed on the user's machine by editing the cookie directly? (Please tell me it can't!). If so, will ASP know it has been tampered with, and refuse to "accept" it if changed to "true" ?

View Replies !
Are Session Variables More Secure Then Cookies?
Are session variables more secure then cookies?

Session cookies (cookies with no expiration) are destroyed when the browser is destroyed.

Session variables are destroyed when the browser is destroyed OR after a time period.

So, in that way, they are secure from the data persisting on the client.

However, while they are in use, can cookies and/or session variables be made secure without encryption?

How much more secure are session variables than cookies?

View Replies !
CDO Email From SSL Secure Server
I've built a survey and tested everything is working fine - except fo one problem, that i have been told MUST be fixed

I am using CDO.Message to send email message to the respondants of the survey - a lovely thank you message.

It is sending the emails fine to all email address i have tested, except for email address here where I work, and I have been unable to find a reason for this

the web scripts are running on a secure server (SSL certificate)
and all is working great except the email issue.

the actual code that is sending the emails works perfectly on non-secure server, and seems to be fina on the secure server except for the most important(apparently) email addresses.

Does anyone have any ideas why the scripts would not send to one set of email addresses, but seems to work for all other when on SSL, but works for ALL email address when not on SSL.

View Replies !
Connecting To Secure Server
Maybe I'm doing something wrong, but I'm having troubles with connecting using SSL.

I have a website at http://www.*****.com
I have a login form directly on that index page.
When you click sign in it directs to https://www.hostingcompany.com/******. However, it fails the first time, then it works the second time. The second time I am on the https://www.hostingcompany.com/****** page.

View Replies !
Regular Uploading To Secure Server Using Asp
I have a directory (folder) in ISS 6.0 Web server. I need to upload to a secure server over an HTTPS connection. What is the best method to upload from this directory to a secure sever.

To access the server via a browser i have to type a password and username.
The file are Cxml files and need to be uploaded on a secure connection.(HTTPS)
I would need to run a schedule task every 2 minutes to check the directory for any files that are there.

What script or method should i use. Is there any particular sample script such as (ASP) i could use. I am sure this can be done in ASP...but does anyone know how.

View Replies !
Secure ASP And MySQL Database Server
How to secure MySQL Data with encript, any data to encript have ''' and MySQL send Error, how to protect ASP Data o encript the code ?

View Replies !
Difference Between Environment Variables And Server Variables
can anyone tell me difference between environment variables and server variables.

View Replies !
What Is To Need Server Variables
What do you need to have on the server in order for LOGON_USER to work?Its not working on my server.Reverse DNS maybe?

View Replies !
Why Server Variables
Need to know some about current user of NT domain. In my asp page i have used Request.ServerVariables("LOGON_USER") to get current NT user but some times it returns nothing and some times it gives correct user name.

In my application i am redirecting from one page to antoher and i need to keep server variable "LOGON_USER". For every page i have different kind of security. I don't know wheather i am missing some thing at IIS or this command works unusually.

View Replies !
Server Variables
I just have a question for something I have been seeing out in the WWW.

Some websites that I goto display the city and state of where I live. The question is How are they doing that? is it a Server Variable ? If so does any one know what that Variable is?

View Replies !
Secure And Non Secure Data
i have an ecommerce site that is split across two domains, a secure space that retains cc details and the main site where contact information and order details are held. I need to be able to produce a report that displays both sets of info in a printable document. aside from using iframes is there a better way of doing this?

View Replies !
Online IPs With Server.variables
I try to make my page http://tudef.jezz.dk show the online users ip numbers, but i only get my own ip, even if more users are online.
I use request.server.variables and remote_addr

View Replies !
How Can I Insert Variables Into SQL Server DB
I am trying to insert three variables into my table in my asp program. Can someone please tell me if my syntax us wrong. I keep getting this error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 3: Incorrect syntax near '&'.

/credFeesEdit10.asp, line 735

Here is my insert statement: Code:

View Replies !
Deny Server Variables
Is there any way to deny a server variable to be run on a server such as LOCAL_ADDR?

View Replies !
Post Server Variables
I cannot view Server Variables Specifically HTTP_REFERER, in an ASP Page that I access either by a From POST from anothe rpage or a link.

View Replies !
Grab Server Variables
I am trying to grab the server name and IP address using Response.Write (Request.ServerVariables("ALL_HTTP"). I am using this one because I wanted to see everything that is brought back.

The server name I am getting back seems to be the host name found in IIS not the fullly qualified domain name of the server. Is there a way to get the fully qualified domain name of the server?

Also this server is one of two servers in a cluster and the IP address being returned is the IP address of the cluster server. Is there a way to get the IP address of the server that I am actually logged into?

View Replies !
Client/Server Side Variables
At the moment I am building a small news board on my companys intranet. There are 2 different offices with 2 different domains. for each office I want to show different news relating to that office.

Is there any way with asp to get the name of the domain that the user is logged onto so I can filter different news for each domain. This will just save the hassle of putting the intranet on 2 different domains.

View Replies !
Function To List All The Server Variables
Does ASP have a function to list all the server variable similar to PHP's phpinfo()?

View Replies !
Responce.write Server Variables
<%
response.write(Request.ServerVariables("REMOTE_USER"))
%>

When i use this it also gives me the domain name as well as the username. (example, amrswbouse) I know i can do js to trim off the first few letters but i want to know if there is a server variable that will save me the effort.

View Replies !
Access Variables From Asp Server To Client?
isit possible to access variables (code) from ASP server script to ASP client page?? take for example the code supplied below:

'server script
<%@ Language=VBScript %>
<%
dim svalue
svalue="access me"
%>

'client code
<HTML>
<BODY>
<SCRIPT LANGUAGE="VBScript">
dim x
x = svalue 'svalue isfrom server script
response.write x
</SCRIPT>
</BODY>
</HTML>

View Replies !
Accessing Server Variables From The Client Browser
I want to be able to client process of the ASP page to get the value
populated in Request("rssFeed"), how can I do this because the Request
object is not available to the Client-side.

View Replies !
Session Variables Cleared Afer Server.Execute
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of these menus are then placed into the page by calling Server.Execute(rs_Modules("ModulePath")).

This works fine for up to 15 "menus" After that, the session variables that were set (not including those called by Global.ASA) are no longer set. Code:

View Replies !
Server.Variables("path_info")
Request.ServerVariables("path_info")

I am able to get the full path, i.e

/community/default.asp

However is there a way that i can get the querystring as well on top of that.

for example if i am on:

/community/default.asp?pageid=3

This is my problem with a lot of my funcationailty, if you click a submit button, then it does not action, but sends it back to default.asp

/community/default.asp

View Replies !
ASP Forms "Get" Server Variables
- I have a page with two radio boxes with values of "agree" and
"not_agree".

- The form is set to GET which goes to the below script for
processing.

- No matter which of the two radio boxes are selected, it always goes
to the page "/broadband/order.asp".

- There is no other code on the form processing page apart form what
is below. Code:

View Replies !
Secure
How do I stop pages being active in the history.
I have tried this,

<% Response.Expires = -1 %>

But the pages are still active in the history and are being cached somewhere on the machine win2k.

View Replies !
Secure
If I create a simple login page and then store the UserId is a session and check its validity in the subsequent pages, How secure will the site be. I know the same question has been asked in the PHP forum

Code:
http://www.sitepoint.com/forums/showthread.php?t=233118
But how can I make my site secure enough in asp

View Replies !
Secure
I may be in over my head on this one... VERY new to ASP. I have a potential client which is a marine loan broker. He wants an online credit application for the boat dealers he works with (20 different ones). He wants the credit app to be co-branded. Dealer/LoanCompany logos at the top would be sufficent. The dealer would have a link on there own site to the loan company's site but wants it to look like they are "Partners" and not just being shullde from one site to the next.

Is there a way to display different dealer logos based on the referrer URL? I would rather have one creditapp.asp that displays the proper logos depending on the referrer over building 20 creditapp.asp's. He doesn't need the form data written to a database. He just wants the form data emailed to him. (this I can do) How secure is that emailed data?

View Replies !
Secure FTP With ASP?
Right now, I'm trying to use WSH to run PSCP (command-line version of
PuTTY). I've tested the command I'm using by opening a DOS box
manually on the server, and the test file is successfully transferred.
I've run Filemon and Regmon while running my sample ASP page, and see
no permissions problems. I've tried running cmd.exe and passing PSCP
as the parameter.

I've tried running PSCP.exe directly. I've even
tried using ASPexec to run it instead of WSH. None of these have
worked. I always get the same thing -- error code 0 (success) returned
from WSH or ASPexec, but when I look at the second server the file
never got there, and when I look at terminal services on the Web server
PSCP is still running.

View Replies !
Secure Login
I'd like to create a secure login from an ASP page to a specific SQL Server
2000 Db. Is there an accepted methodology for doing this? Are there any
resourses that show how this can be done?


View Replies !
Secure Page
I need to secure my web page, when it is reading a file from the
physical folder.
Say for eg.. I have a page Page1.aspx, which displays a list of links
that corresponds to
the available text files in one of the files. All the other pages are
secured except this
page. So when I click the link, it redirects it to for eg..
http://localhost/folder1/one.txt.
But this should not happen. As the user can type this without even
logging into the website.
So I need to know how to stream this file and display it in another
page, rather than just showing it.

View Replies !
Secure Page
I´ve made a loginpage in asp, and a page that receives
the data from the form and logs you in.
But how do i make the loginpage secure?
Do i have to use https, and if so, how do i change from
http to https when the loginpage is included in another
asp-file?I don´t know if i have explained myself correctly

View Replies !
Application Secure
Here's what I/m doing to sanitize/validate/secure my input.

1. The front end checks what kind of data is entered.
2. I am using parameterized query instead of concatenated strings (Against XSS)
3. I am replacing symbols like <,>,# etc with their appropriate entity number eg. & #32; without the space. (Agains SQL Injection)

View Replies !
Secure Connection
Can someone please explain to me the basics of creating a secure connection (we're looking at using Authorize.net) and possibly point me in the direction of other resources for getting some info?

View Replies !
How To Secure Code?
I have a site designed with ASP 3.0 code (HTML and vbscript) that I want to protect from being visible. I want this code to be non-visible and hack-proof. Is there a way to either encrypt or protect another way to ensure that my code is not stolen?

View Replies !
Page Secure
do know how can i prevent my page from cross side
like using <marquee></marquee>

View Replies !
Secure SMTP App?
I have a client with their own W2k server and their IT guy refuses to turn on the SMTP service for fear of it becoming hijacked by spammers.

However, they also want their web site to perform some emailing functions I would normally use CDOSYS for.

I'm having them look into alternate SMTP servers to use with CDOSYS, but I was wondering if anyone here can recommend a 3rd-party ASP-based SMTP app that might be more secure than IIS' built-in service?

View Replies !
Secure Information
I've an ASP page in wich the customer write his card number for the payment. How can I make this information secure when it's sent to the server?

View Replies !
How Secure Is Global.asa?
I have written a simple script that is called every 75 seconds or so to test whether the SQL Server database is running. The script is contained in a page that is not linked to in the site.

The thing is I have hard coded the database information on the page, I was thinking of putting the connectionstring into my global.asa file as an application variable.

How secure are the two options?

Will there be any performance issues? Bearing in mind that this page is called every 75 seconds.

View Replies !
Secure A Database
I have set up an asp script which writes the output of a form to a database.I have achieved my database connection like this:Code:

DIM objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath ("contact-2000.mdb") & ";User ID=admin"
objConn.Open

How do i go about making the database secure? at the moment anyone could view the source of the asp script and download the database.Which folder should the database be stored in? iv heard of using the root folder? at present the database is located in the same folder as my asp file.is there a way of setting up a password on the databas ein access and passing the password from my asp script to the database. the password would have to be encrypted though.

View Replies !
Secure Web Page
We have a need to allow our users to enter Credit Card #'s on a web page, so we need a secure page (have the little lock at the bottom of the browser) in order to do this.

1) What is this called? (I've heard the term SSL (Secure Socket Layer)tossed around, I don't know if this is the same or something different).

2) If I need a certificate of some sort for our server, how do I get it?

View Replies !
Secure Statement
I have written a web app in asp3 which is used by lots of users.The data is all held server side.However,I want it so that the users can export the data in a csv file,much
like you can download a statement from online banking.

However,I don't want to save the file to the server,as then anyone else might guess the filename and download it.Is there any way to directly generate a file from an asp script.i.e.instead of asp returning html,it returns csv data which the user can save
away.


View Replies !
Secure Issue
there is a way to post form variables in the best secure way... i don't sure how or what is the technical way to do this and that is the aim of this subject... but somehow the form write all the inputes into cookie and than the asp file read the form outputs from the cookie and not from the form itself... why? how it works?

View Replies !
Secure ASP Application
I have an ASP application that I would like to give out to customers. how do I control the licencing. They will get the source code.. (I know I can put it into a DLL - its a possibility) but even then they can simple copy it elsewhere.

So what I thought was some code looks at the servers name, IP and current date and generates a code based on that. Then, I create a code at my end that will only work for that server name, IP and up to a date I specify. The code would be encrypted somehow. Does that sound like it would work?

View Replies !
Secure ASP File
how do i restrict anyone by changing an asp file. can it be done using visual source safe? Is there any way that i can stop any one from making changes in my asp file.

View Replies !
Session Secure
Is it safe to store credit card information in the ASP session state to be ultimately transmitted to VeriSign? I have a set of forms that are in the format of a wizard and I need to maintain the information through the pages. I know cookies are potentially unsafe, and I don't want to be responsible for credit card information being stored in my databases. I would use this type of method...

Code:
<% Session("CCNumber") = Request.Form("CCNumber") %>
If it helps, I have a VeriSign SSL certificate.

View Replies !
Secure Layer Use
Are there any down sides to making the whole site jump to a secure layer from the word go? I have a site which does this from the point of login, but for people who don't login it stays in the normal zone. Just wondering about any possible side effects from making the default.asp jump straight into https unless it's there already.

View Replies !
Secure Documents
I have a client who needs to be able to upload confidential documents (.doc and PDF) to a "hidden" area within their website so other members of their organization can later view them at their convenience. This area would be restricted by logins and passwords, but it also needs to be secure enough that no outsiders could gain access to these documents if they tried.

I've read on here about placing files in a directory outside of the root directory and then reading them back with a script but I'm wondering if there are other options that would be even more secure than this. Maybe with using some sort of file encryption or something else used in conjunction with files outside the root. I would be open to any 3rd party commercial software if someone has had good experience with it. Does anyone have suggestions to offer?

View Replies !
Secure Passwords
what is the best way to create secure passwords in a database. I have a login system that can create users but it saves the users passwords in clear text. how would i go about doing this so if people look in the database they will not know the password.

View Replies !
Secure Login
any good tutorial sites that could help me code a members area. In a nut shell what im planning to do is.

member login - 3 attempts at accessing members area.different access levels for different users. i also want to allow admin to upload files [word docs mainly] and allow the members to download them. I have previously built an asp login but it was very basic and had no security put in place.

if you know of more security features i need then please share the knowledge, it has been a while since i coded a dynamic site.

View Replies !
Secure The Code
i have to secure my asp code. I tried "screnc.exe", it is very useful but not hard to crack. give an alternate and better way.

View Replies !
Need To Secure Pdf Files
i currently have an asp authorization system setup on my website for access to certain html pages. this works great, but i need to restrict access to some pdf files as well. as of right now if the user is authenicated they have access to links to certain the pdf.

the problem is if i change a users access privileges they or anyone could open the file directly if they save or can guess the correct path.

i have tried to setup webserver folder security and use usernameassword@domain.com but this doesn't work in ie.

I thought about placing the pdfs in a database but im afraid that will slow down access to the files.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved