Security :: How To Block Specific Ip Address From Visiting The Website
Oct 26, 2010
is there any java script that i can put it on my master page and block specific I.P address ? And navigate the user visiting from that blocked I.P address to a different page ?
View 8 Replies
Similar Messages:
Sep 17, 2010
I would like to develop a web application in which I can track the details(IP address...etc) of my website visitors....using vb
to implement the above web application
View 1 Replies
May 23, 2010
I need to block one IP address or class in asp.net. help me with the code? And how to implement?
View 3 Replies
Nov 1, 2010
I need to restrict access to my website by physical PC. When a user signs up I want to be able to restrict access to one machine for that account so it cannot be shared round, if, for example, somebody else in the same office wanted to access the system on their PC they would need a seperate sign in.
I have done some investigation and I "think" the only way is installing an ActiveX component (which isn't an issue that is restricts to IE only) and then read the users MAC address. Am I trying to over complicate things or is that the only way? I realise that MACS can be spoofed but this is not much of an issue.
View 4 Replies
May 23, 2010
How/Can I Set the try, catch statment to catch a specific Error. For example i am getting the following error:
Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near '='., [SqlException (0x80131904): Incorrect syntax near '='.]
Basicly The = is part of my SQL string which points to a table that currently doesent exist. I want something like catch ex as SqlException (0x80131904) or catch ex as SqlException = "0x80131904" or even catch ex as System.Data.SqlClient.SqlException = "Incorrect syntax near '='." I just want something so i can put "table doesnt exist" in the error message without having to use:
catch ex as System.Data.SqlClient.SqlException
As i have other code on my page that could result in a different type of sqlExeption.
View 4 Replies
Jul 5, 2010
We have created a windows application which is distributed amongst our clients. The application uses SQL Server 2008 as the back end and each client uses their own database on their own server. The databases are all exactly the same but each clients data is specific only to them.
We would like to offer our clients the ability to log-in to our website which would then login to their own database so that when they are out in the field they can perform similar tasks to what they can do with the windows app.Each of the clients databases has a user table containing their login details, permissions etc.
Our server is running on IIS and has SQL Server 2008 installed but it only contains our data and nothing of the clients.How should we go about this?
What I mean is do we need to make each client have an additional login to our main server which would then hold each clients individual connection strings etc which would then be used to connect to there specific database and then they would need to login again?? Seems like a nightmare for the user.
View 13 Replies
Jan 12, 2010
I have a web page where I am denying anonymous users from accessing. In the web site I have a folder called FileManager. In the web app the usres have the ability to uploaded files and when they do a folder gets created under the filmanger and the files are saved. I have created a web.config in this folder that denies anonymous users. The problem is if the user knows the directory structure they can type in the url of the site add /FilManager/x/x/NameOfFile, where x are the sub directories. If the file is an image it shows the image in ie, if it is a .xls or .doc or what ever they get the prompt to either download or save the file. What am I doing wrong. Will the web.config file not stop an anonymous user from access files? I put a webpage in the folder and it is blocked and the user gets sent to the login screen, but files seem to be unsecured.
How do I block anonymous users from being able to access the files in this folder?
View 4 Replies
Mar 14, 2010
I am trying to figure out how to associate a specific user to a specific data on the site, like social networking site.
View 3 Replies
Mar 29, 2011
How can I have my website block access to IE6? Redirecting it to a custom error page.
View 3 Replies
Oct 12, 2010
how to disable asp.net custom errors only for a specific ip address? this will ease debugging exceptions on my server from my office..
View 2 Replies
Feb 5, 2012
I have used this code, which has worked perfect:
Code:
Dim mail As New MailMessage()
mail.From = New MailAddress("x@y.dk")
mail.To.Add("y@x.dk")
mail.To.Add("xyz@xxx.dk")
[code]....
until my provider changed in his server settings. He now tells me that I cannot use specific IP adress. How do I access a specific host instead? He told me that this is the right host: pubsmtp.directit.dk
View 7 Replies
Jan 13, 2011
I am developing an ASP.NET website. There are some pages on my sit that I want him to see only if he is a registered user. If not, he should be redirected to the appropriate page. Should I be checking this on the Page_load event that the user is logged in or not?If the user types the name of the URL, this would still work, right?
View 2 Replies
Apr 20, 2010
anybody knows of blocking certain users (by IP) from accessing your website (website on asp.net mvc).
EDIT: I know that web-servers can do this as well, but I need this at the application level
View 3 Replies
May 11, 2010
I have a page in MVC where i want to take the email adddress as the input which can be of format like:"Jone Davi" <jone@gmail.com>, "Ben Miller" <ben@gmail.com>, "Jane Ton" <jane@gmail.com>,
Then from this I want to parse the valid emailaddress.But on click of the submit button getting error message" A potentially dangerous Request.Form value was detected from the client" Thus is there any way to take the input of email address in above format and bypass the security error for that specific page.
View 2 Replies
May 6, 2010
i have an requirment where an user can enter multiple email address.
The validation should ensure that he should enter address in the format "something@abc.com".
my existing validation ensures that some text is entered before "@" symbol and "abc.com" is the domain.
@"w+([-+.']w+)*@abc.com$";
I would need my regex to check for the delimiter ";" between two mail id's .
valid: a@abc.com |
a@abc.com;b@abc.com|
invalid: a@abc.comm | a@abc.com,b@abc.com | @abc.com |
a@abc.comb@abc.com|
I've tried many links but ther were of no use and i'd be grateful if someone could help me modify the current one to suit my requirments
View 7 Replies
Mar 29, 2010
I am making a website in asp.net c# code behind. My client told me that he want to remove the user who break the website law and then that particular user can create another account in our site with different emailid and password.
View 7 Replies
Jul 19, 2012
How can I access the web application from paticular client machine based on ip address of client Machilne.
View 1 Replies
Dec 7, 2010
I strucked with one problem in C#.net coding part, my problem is "how to block the videos in website on IE browser" through the C# coding. actually i am developed one toolbar for IE browser so in that toolbar i added one button for block the videos,so when i click in that toolbar button that time in IE browser website videos are blocking
View 6 Replies
Sep 21, 2010
I want design a page where the end user enters information on my page and related information is fetched from the another website on my web page.
For example: Capturing City and state name from USPS.com
End user Task : Enter zipcode and click button 'Fetch'
My page perform few task
1. opens usps site backend
2. Enters the zipcode
3. Captures city name and state as temporary value from the usps
4. Displays the same in labels present in my home page.
View 2 Replies
Feb 26, 2013
In my registration form, there is field to enter email-id of member, i want to restrict user, so that he would not able to enter gmail, yahoo, radiff.... emailids is this possible.., Only company email id eg: priyanka@juncturetech.net must be allowed?
View 1 Replies
Jul 4, 2010
we can download other site css like right clikc their websites and we can see the css src / js src, then if we providee that filename in the address bar then it'll download, how to avoid this?
View 2 Replies
Apr 20, 2010
What i want to do is code in Global.asax file to check if current date is greater than EndDate(appsetting) it will block access to rest of the pages as what happens when using [Code]....
Moreover it will be a licencing system which will block the application after its EndDate that will be mentioned in web.config.
[Code]....
[Code]....
View 10 Replies
Apr 1, 2010
I know how to impersonate a user for the entire site but how best to impersonate for a block of code; WindowsImpersonationContext or NetworkCredential?
And how would this code look like?
View 2 Replies
Mar 20, 2010
have a project where there are main 3 types of users i have to block them from accessing other pages but without using roles or membership is there any other way to do the same?
View 3 Replies
Apr 6, 2010
I'm doing a project in component management system. I need to block executable files from getting uploaded. Blocking should not be based on the extensions. For example, i've a file named abc.exe i'm going to change the file extension to abc.jpg in this case that abc file should not get updated. Similar to that in gmail file attachment.
View 2 Replies