Implementing RSA RSACryptoServiceProvider *and* JavaScript

I'm currently trying to strengthen up the security on a large ASP.NET
application. I use MD5 hashes for the user/password, and a token to 'salt'
the resultant hash. This is secure.

The next step -- and I'm *really* surprised that *everyone* doesn't do
this -- is to prevent 'Evil Eve' from listening in over the network when the
passwords and/or other sensitive information is updated. The best method
here is to use asymetrical encryption using the framework's
RSACryptoServiceProvider. Of course, this won't work on the client because
you have to use JavaScript on the client (forget Java and Activex as these
are out of the question). Therefore I want to implement RSA on the client in
JavaScript. Code:

View Replies


ADVERTISEMENT

Implementing Verisign Payflow Pro

I'm testing the verisign service. Has anyone here used this service if so can you share some pointers.

I'm a bit stuck with the variables that the server returns. I want to use them but i'm getting no where.

View Replies View Related

Implementing Shadow Uploader

I found this Shadow Uploader on here, and i see that you can have an email sent, but im having troubles understanding how the email bit works
All i want is for an email to be sent to me saying 'Someone has uploaded an image' and the text from the 'name' field..
Normally i would try and do this for myself, but the site needs to be running by Tuesday and ive got no more time to much around with it.

View Replies View Related

Implementing Audit Trails

I have got around 7 pages where users can edit existing data. The thing is it is required to have an audit trail of the changes made to any table storing in user information. A google search mainly shows all 600$ softwares which can't be afforded by me. how to implement them.

View Replies View Related

ShadowUploader - Help Implementing The Code

i have no probs with the script, it works fine, but i want to be able to upload an image aswell as data (text) from the same page, i've had probs trying to do this as i get an error, cn't remember the error.

View Replies View Related

Implementing File Attachement

I have created a cfm for my website and what my problem is that when it comes to uploding an image in the site i have to manually do it through a ftp program and than write the link in the admin section of the site in the form where i submit than it displays the new image or images.

but i would like to do it so the administrator can click on browse than attach the image and than when submited the image gets uploaded in the choosen folder and the file path is writen in the database (access). is this possable? i have an insert form that has the form to submit and i have created the insert prossersor page that contains the SQL statement that prosessos the form.

View Replies View Related

Implementing A Global Log File For A Web Site

I am trying to implement a single global text file for my web site that will log the actions that my ASP scripts peform. The site I have set up involves about five web pages with scripting in VBscript. Several of these pages also use COM automation to peform certain tasks in Excel macros which also write to the text file.

Currently, I must declare an FSO object on each page. I also have to close the object before I call the COM components (because I write to the log file from the Excel macros, too) and then open it again when control returns to my ASP scripts.

The macros I have written inside Excel are quite intensive, so they chew up some time when they execute. In the end, each user will go through the five web pages to generate an Excel spreadsheet which they can download, and, during this process, will have logged about 15 messages to the text file. Code:

View Replies View Related

Implementing Secure Paswords/usernames

What's the best way to implement a secure passwords. The passwords already exist but i want the users to then change them.

View Replies View Related

Implementing Current Date Into Form Variable

<input type="hidden" name="date" value= (Date)>

When I use:

<% Response.Write (Date)%> if returns the date I want.

I need to enter it to this date value in my form. What is wrong with my code above? It should be obvious, but I can't figure it out....

View Replies View Related

ASP: Implementing Server Side Include Using Query Strings

I have a provider to implement domain name search and another to receive variables from my site and save them on thier site.

PROBLEM
we are using MS ASP scripts on my site.

We want to be able to implement an include file to show the results of the form process from their website.

Currenlty i tried the ASP script below but it fails, complaining of the end if statement, when i remove it, it doesnt show anything. Code:

View Replies View Related

Implementing A "Find Location By Address/zip Code"

I need to implement a find location by zip code or address and I need a little help in terms of where to begin. I have no problem with SQL queries or ASP in general, but I am just having a hard time conceptually with this.

For example, how would I know that X zip code is 10 miles from Y zip code which is store location A's zip code?

View Replies View Related

Javascript

I have a dll coded in vb that has a method X with the follwing signature

function X(a as string, optional b as string, optional c as string)

now i need to call this method from asp using javascript.

var dl = Server.CreateObject("dll");
dl.X(....);

I need to pass only 2 parameters 'a' and 'c'. Had it been vbscript I could have done dl.X(a,,c) but javascript doesn't accept that.

View Replies View Related

JavaScript Value

I'm having a customer submit an order. When they submit it, it posts to a
page that processes the order and inserts into our database, while
displaying a summary of their order. I have a javascript function that will
cause a "confirm" box to show up if an order seems like it might be a
duplicate. However, I can't seem to get the code to "wait" for the response
from that box, which I guess makes some sense. Am I stuck with having an
interim page or doing something with posts or is there an easy way to get
the record to not insert until the user responds to the confirm box?

View Replies View Related

Is There Any ASP Or JavaScript Out There That Will Take Out S P A C E S!!!

Im sure it exists but i am having some difficulty finding it. I need come code to take out any SPACES in a textbox when text is entered OR submitted. Example

i have a text box where people can enter there car registration.

To keep consistency thoughout my site, i want L736 VAF to be entered into the database as L736VAF.

so that when it is recalled via a search form, L736VAF wont be returned as "no record found" because some one has put a space init!

So i basically need code to eliminate any space!

View Replies View Related

JavaScript

I need to detect the users browser resolution (done with javascript)
var height= (screen.height)
var width= (screen.width)

Now I need to use these javascript variables to set the values of hidden html forms. How would I go about doing this.

<input name="width" type="hidden" value= Javascript Variable Here ?????>

View Replies View Related

ASP And Javascript

update some long commOn first page I display all the records from database (working well). Then first column has href which opens a popup (i am passing rownum from database to popup). I was hoping to run ASP code on load of the page so the comments which is already there for that row in the databse automatically comes in a textarea. And then you can edit and hit update. And this will update the database.
Also I was thinking of using session variables for the rownum. But bcos I have href which opens a popup, I am not sure how i can set the session variable.
I dont want to pass the "comments" itself to the next page bcos it can be really long comment and QueryString has some limitations.

View Replies View Related

Javascript

I am making a dynmanic form that goes to a question depended on the answer. Is there a way that I can make it remember what the person selected (radio button) in the question so that I don't have to write something like,

"<input type = 'radio' name='Question3' value='Yes' checked <% if Question3 = "Yes" then response.write "SELECTED" end if%>>Yes<BR>" + ????

View Replies View Related

Is It Possible Asp And Javascript Use Together

is it possible to use them together?i keep getting errors when i use them together

View Replies View Related

Asp With Javascript

I have a asp page that have an array for instance:

<%
a(0)=0
a(1)=1
a(2)=2
a(3)=3
%>

I would like to show each element of the array with alerts in javascript... Do you know what its the way to make something like this...

View Replies View Related

Javascript With ASP

i have an asp page which shows a list of articles which are pulled from the database.
I have a variable as below which defines number of records to show on each page

<%

numRows = 5
%>

Now i also have a drop down list from which you can choose 'display 5 records per page', display 10 records per page' and so on.What i want is when a new value is chosen from the list, the page refreshes and the ASP variable numRows is set to this new value.

View Replies View Related

Javascript

I'd like to put some SQL values in my Javascript which is defined in de Head
section
If I put it in there like <%objrs=("field")%>, the script does not seem to
run ?

View Replies View Related

Asp & Javascript

I have a page that opens a javascript modal window and passes a variable. I then have that variable in Javascript. Is there anyway for me to get the value of that variable in asp. I am passing an id and want to check what the id is and open my recordset accordingly.

View Replies View Related

Javascript Or Js In Asp

i'm looking for a prog in js or javascript who cas disable a key on keyborad??

View Replies View Related

Javascript + ASP

Is there a way that I can refresh a combo box using javascript after I select data from a another combo box? I can't seem to find the answer to this question. I'm guessing after I select the item in the first combo I could requery the database and display the correct informtion based off of it. I just don't know where to start. I've searched all over the internet.

View Replies View Related

ASP And JavaScript?

Will JavaScript function in ASP? or are there specific functions in ASP which replace JavaScript?

I'm running JavaScript to compress down a menu and want to use an #include statement to port the menu to multiple pages. If I have to sacrifice the JavaScript I'd need a way to compress the menu in ASP.

View Replies View Related

ASP With Javascript...

basically I call a javascript refresh function, but I need to pass a url to it too to indicate what this should refresh to. The problem is the function I call, then calls another function and I need to pass the url info down, as it is this second function that needs it.

It seems to work from passing it from the link to the first function, but I think it must loose it passing it from the first function to the second.. Code:

View Replies View Related

Javascript Yes/No

I have searched for some examples, but to no real avail, for a JS function
that displays a user Yes/No dialog box.

Basically, i have an ASP application that displays a SQL table on an ASP
page.

I have created a "Remove" hyperlink (in a loop) by each record and i need to
use an OnClick event so when the user clicks this hyperlink it displays this
Yes/No dialog.

At the moment the hyperlink simply removes the relevant record.

I need an OnClick event that displays a Yes/No box that when the user clicks
Yes - it goes to remove.asp, and when No is clicked it does nothing.

User Clicks Remove next to record > Yes/No dialog> Yes = remove.asp No =
End. Code:

View Replies View Related

Containing Javascript

I'm putting together a site to allow someone to add content to a DB
through a text area form, and then display it on the web. Pretty basic.

The problem I'm having is that they need to add snippets of javascript,
but by the time its displayed on the page, there have been extra
linebreaks added, breaking the javascript code.

Replace(string, vbCrLf,"") won't work because that removes all
linebreaks. Is there a way to preserve the original linebreaks as
submitted to the DB in the first place

View Replies View Related

Javascript Value

i am trying to call a javascript function in asp code.But i need the return value of javascript function to use in asp code. how can i do this?

the name of the javascript function is get_textvalue() and it returns a text value.
i have a variable which is named volume in asp code.actually the thing that i want is volume = get_textvalue() but in asp code how can i do this ?

View Replies View Related

Javascript And IIS 6.0

The code JavaScript is not executed in the pages ASP in a server IIS 6.0 in Windows 2003 but if makes it in a IIS 5.1 in Windows XP, like I can configure it so that it is executed.

View Replies View Related

Without Javascript

I have news heading to be posted on the website the main news would be shown in one line and when the user clicks on it the rest of the news will be shown in a pop up window or a small window below the news headline i dont want to use javascript the reason is if someone has disabled javascript they wont see the news so i am trying to do it with stylesheet or with ASP can someone give me an idea how to proceed with it.

View Replies View Related

JavaScript And ASP

I have a Javascript function wich returns true ou false, how do I assign the result on ASP variable?

<% blnResult = javascript:function() %>

All these work because I have a form wich fields are verified by JavaScript on the client.

View Replies View Related

Javascript V.s ASP

Can javascript and asp use together? I mean if I Dim n=10; can I use that nin javascript functions?

I need to create dropdown boxes using javascript (I don't think asp is capable of that) and then read from a text file using asp(again, javascript can't do that) and display the lines I read in the text file into the options in the dropdown box. Is that possible to achieve? Or the two language just can't be mixed together.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved