Security :: Get URL Of The Webpage That Referred The Request To Webpage?
Aug 17, 2010am trying to get URL of the page that referred the request to my page, i tried the "
[Code]....
[Code]....
[Code]....
[Code]....
am trying to get URL of the page that referred the request to my page, i tried the "
[Code]....
[Code]....
[Code]....
[Code]....
I have developed a web application (ASP.NET Web Forms). One of my customer has very restrictive policies. When he accesses the web page, IE shows this message:
Your security settings do not allow Web sites to use ActiveX controls installed on your computer. This page may not display correctly.
As far as I know, we don't use ActiveX controls on our page. I did a "View > Souce" and did not find anything suspect.
How can I find what part of my page refers to an ActiveX. The application uses jQuery and a few jQuery plug-ins. Is there a tool/add-in like "Fire Bug" that I can use to list the ActiveX controls referred on a page?
I am working on a financial portal and I am having a problem..I don;t know what to call it so i mentioned it as an 'unknown to me' problem..I have a webpage..whenever I click on any button on my webpage, the request goes through..but nothing show up on the webpage..then If I click on another link and then again come back to previous link,then only I see the results of button_click..
e.g.
I have a currency conversion and investment form..so after filling up the form in following way and if I click on "INVEST" then nothing shows up..
so now if i click on any other link and go back to 'buy currency' link I see the result as 'investment successful'
when First user request the webpage called for ex(http://xxxx.aspx) page,at the same time
when the second user request the same page (http://xxxx.aspx).
i have to get the message "Already User is using this page try after some time ".
We have a Web Application (WebApplication A) which is in place and serving fine, we are working on another WebApplication which will use the Engine of Existing Web Application (WebApplication B) to some extent.
Problem: WebApplication A responds when a http request is made for a resource, like LatestPost.aspx, which passes it down to relevant class / Module like FrontManager.cs. I want to know how can we access that Module / class (FrontManager.cs) from WebApplication B, without requesting a Web Page ?
I am using an SMS Gateway to make my application receive SMSs. For this, the SMS Gateway sends a request to one of the pages in my application with the message as a querystring parameter. eg.[URL]. Now after my page gets invoked, I need to send an OK response to the SMS Gateway so that it doesn't keep retrying to send the same message to my application again and again. I cannot figure out how to send the OK response.
View 1 RepliesI have a page that does an AJAX request. This request can take a while to complete, sometimes over a minute. This is not an issue.
During the AJAX request I am unable to load any other pages on the website. This is the same for any web browser.
I understand that there are connection limits in the browser, IIS and ASP.NET - but all of them allow at least 2 connections.
I am using IIS7 and ASP.NET 4.0.
I have made some sample code that demonstrates the issue. The code is here: [URL]
See a video of the issue here: [URL] You can see in the video the 2nd tab that is opened does not return a page until the AJAX request is complete.
there are a form in a page like this :
[URL]
how we can request that form dynamically and make it in my webform ?
I would like to allow users to call my ruby on rails app as a service which returns a 'div' with html content in it, and embed that div into their app (which will not be a rails application).
For example, assume someone has their own php website that has a header/footer template that gets rendered, and a content area of the page that they need to fill based on some html I generate in my rails app. I would like to allow them, from php, to call to my website, get the 'div' I generate, and embed that as html in their php page.
What I'm trying to do is host a service on my site that returns some html content, but actually show that content as part of another site, so that the end user only sees the other site and never really knows about mine.
Also, I can use javascript on the client to do this if that is the only way, but I would prefer the php app to handle this at the server if possible so the client gets the html embedded from the original server and it looks like it all was generated by the php script that generated the entire page. I also want to avoid using an iframe.
I developed an application form which includes some textboxes for input. When the user click on the button the following tasks has to be done.
1) If page is valid all data should be stored in database
2) A new webform should appear on the same window and the some content of the application form should be displayed in it.
3) When clicking on browser back button it should not post back to previous page.....
I did the first task..and i don't know the code for the remaining tasks. Here is some information
.aspx button control code
[code]....
I opened new webform by using Response.Redirect ("submit.aspx"). Where submit.aspx is the form to be opened after data stored upon the button click in application form.
I am new to this so forgive my lack of techical jargon/understanding.
We have and active directory setup in our dmz for 'external' user authentication to our web sites. This works fine...
We also have 'internal' users who have been authenticated to our 'internal' active directory. That works fine.
The problem is that we would like the internal users to be able to access the web sites on the web server in the dmz without getting prompted for authentication a second time...the user has already logged into the AD internally. Is there a way for this to happen? Currently they are being prompted for their credentials any time they go to login to a web site that is located in the dmz.
I currently have a website which I want everyone to be able to view, authenticated or not. But if someone does sign in, I want different controls and different C# code to be run on the page.
At the moment I have not put any asp security in. I just have two text boxes that check against the database then keep the user logged in using a session variable. Each page then checks to see if the logged in session variable has a user in it and runs the code.
I'm assuming this is not the most secure way, is there a way to do this correctly?
I do have a question with respect to cell phone locations.
f.i. how does google maps know my current position when using a cell-phone?
How can i make use of the current position of my cell phone. (How can i read that info and make use of it on a aspx webpage f.i.)
Ok this seems to be a tough one.
Example. when i use my iphone and start to use google. it automatically detects i have a mobile-phone (easy).
But then it request if it may use my gps locations. (if i then accept it reads my current locations).
My question is how can i do this myself using an asp.net webpage f.i.
im doing a webpage, and i have to login with the user from active directory users.
and things are so complicated, im getting lost!
im so confused by AD LDS, LDAP, ADSI,, are these all the same thing or?
if i use the same user who log onto the server computer, to login the webpage,
and i have the user ready in the Active Directory Users and Computers, do i have to configure the lightweight thing so that it can get users from the Active Directory Users and Computers?? and after that do i have to connect the lightweight with ActiveDirectoryMemebershipProvider, so that it can get the user and password?
I have some images and text files that are used by web pages that are available to anonymous users and therefore those files can be viewed directly from a browser.
Is there a way to avoid this and allow the files to be viewed only when a page in the web site calls it ?
i want to protect webpage from saving from browser file->save as. i found some sites did it(facebook,orkut). when i try to save pages on that sites only home page saved. how to do this in c#
View 2 RepliesI have a WebApplication1 running in a port (let's say 4000) and I'm trying to build a website (WebSite1), running on IIS, that is running on the same server. I have no control over the WebApplication1, it's a packaged software, WebSite1 is built by me.
The WebSite1 will do a custom user validation and then will let the user access the WebApplication1:4000 under the impersonated user under which the website is running, not the user in the client machine. Sort of like changing the user in the session.
There is a possibility that the web server computer (host) resets and there is nobody that can log in to system after reseting . I dont want my webpage stop working at this state until the Admin login to the server. so I want my webpage do its main job at logoff state of the server.
how can I create this webpage? what technology can I use to do this?
I would like to create a category page in the admin section where the admin can create/add category from the webpage , he/she don't have to go to database to create it how to make this possible by sourcecode in webpage and in database?
View 12 RepliesI am using a thrid party website for a service. I transfer control and data to an external URL provided by the service provided. Once the service provider processes the data, it transfers the results and control back to a page in my website. I would like to allow only the service provided URL/page to redirect to my website. Is there any way to do this?
I am using hidden variables on a form and a button control with the PostBackUrl attribute set to the service provier URL, to submit the data and control to the external webpage.Will Service Variables help me achieve the above objective?
Is the above possible? Basically i need it as I am creating a site where users can upload files to a shared network drive which is secure and has a system account
When a user clicks on upload file, If possible I would like the page to automatically kind of log in with the system account, copy the files and then log off. I know I could achieve something similar mapping a drive but would prefer not to do that for these reasons;
- Security risk if the mapped drive for some reason isnt removed by the code
- User may not have the drive letter free.
I have to display images from a video camera in my web page.
What I am already done is, I created a folder in my severer side and continuously check for latest image in that folder.
whenever anew image arrived in that folder I display that image in my web page.
It was working when I am testing the code by dragging images in to that folder one by one.
But, when my application connected to the camera, images was coming in to that folder but my application don't have permission to take those images to display
In the web.config file i have put some code in so that when users log in they will be re-directed to another part of the website which only registered users can access. for the admin part only the admin can log in and it takes him to the admin section and that works fine. it is only this that is causing me problems.
the code i inserted for which the user needs to be diverted to is:
<location path ="UserLoggedInFindUs.aspx">
<system.web>
<authorization>
<deny users ="?"/>
[Code]....
How can I modify a web page from another web page, somthing loke a CMS. In other words, I want to create a web page (Page1.aspx) that a user enters text in a textbox and then clicks a submit button. On code-behind, takes that text and adds it to another page (Page2.aspx) in a DIV tag with an ID="divToModify", similar to what a CMS does.
View 4 RepliesI set up a secured folder in my website. When I access this folder via web page, it pop up a windows login form to ask for user name and password. I would like to code the asp.net page or java script to access this secured folder with username and password without pop up the login form. find the method for asp.net page accessing the secured folder automatically.
View 2 Replies