Cannot Access Webpage With Authentication

Apr 9, 2010

I am trying to login to a webpage to parse data out of it etc. but the website I want to access requires authentication. I don't know how to do this with code. I have seen other threads that kind of tell you how to do this but those had the authentication boxes inside the actually the page on the web site I want to access it is in a pop up box so I can't see the source code for it.

View 8 Replies


ADVERTISEMENT

Visual Studio Asp.net Webpage Privacy / Authentication Settings

Dec 8, 2011

I am using Visual studio 2010 vb asp.net.I want to secure my webpages from direct accessed by unauthorized person or only user can access the page. how to setup Visual studio vb asp.net webpage privacy.or Is there any plugin available for visual studio for securing pages

View 1 Replies

Access Network Files Authentication?

Jul 16, 2009

I'm writing a program to examine logs of various servers on our network..they're not on our domain but i can map a drive to them by authenticating each time from my LP (which is on the domain)

my question is... how do i perform that same authentication with VB..

[Code]...

i'd like to either have a pop up box to auth as i would when i browse to the remote PC... OR be able to set it statically in the code (the servers all have the same admin login + password)

View 1 Replies

Access Websites Through Authentication From A Program?

Nov 17, 2009

I want to write a program, which if you provide username and password, will go thru the authentication of a specific website, and then jump to a specified section.

View 4 Replies

Digital Certificates For Authentication And Access?

Jun 11, 2009

I'm looking for guidence on using digital certificates to manage website user authenication and access. i am using a website that has this and what happens is this... the company issued me a personal certificate, that i installed on my local machine. When i connect to the website it checks my local cert store for a cert issued by them and if none is found, no entry, if multiple are found, then a box displays to allow you to pick which one to use.

View 1 Replies

VS 2008 Send E-mail Without Authentication For Servers Without Outgoing Authentication

Mar 28, 2011

as topic, i need to send an e-mail without outgoing authentication becouse server hasn't outgoing authentication.. how i can do this??

View 1 Replies

Conrolling Site Access Via Windows Authentication And Roles / Groups

May 30, 2012

I am trying to restrict access to an intranet site via Windows authentication. I would like to control access via active directory user groups, but my added AD groups don't appear to be recognised by .net. I started with the following test code in my app to determine if the group could be used...

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.Label1.Text = User.Identity.Name

[Code]...

The isuserinrole returns false and the group is not shown in getrolesforuser. However, getrolesforuser returns all of the built in windows groups as well as custom admin user groups created by our anti virus software (SOPHOS). This tells me that .net doesn't seem to have any issue with reading our active directory but I don't understand why my custom group is not being recognised.

View 1 Replies

Access HTML Webpage Using IE Controls?

Jun 8, 2009

I'm trying to fill a web ASPX form thru a VB.NET desktop program using the IE control SHDocVw.InternetExplorerSo far i can set all the textfields that i have to set and click the send button, but i have a small problem: i have to execute a "validation" java script code that is on the ASPX page before clicking the SUBMIT button.

Here's my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[code]....

View 2 Replies

Asp.net - Retrieve Image From Access DB And Display In Webpage?

Nov 10, 2011

I found an old article of an example of what I am trying to do (retrieve an image stored in a ms access Db and display on my aspx page). Does anyone have a good example of this for vb.net?

View 1 Replies

Importing Data From Webpage To Access Database?

Jul 8, 2011

i am a ticketing agenit in my city. i do book tickets on web of the company from which i am buying, so i have to fill a form so i want that data to be imported to my database file from that page.

View 4 Replies

Php - Prevent Users From Being Able To Access A Webpage Via Web Browser?

Apr 18, 2010

This program is going to submit GET data to our webpage. However, we don't want users accessing the webpage any other way than the program. We can prevent users from sharing the program using HWID authentication, but nothing prevents them from using a packet scanner to get the URL of the webpage. We thought about user-agent authentication, which we will implement, but user-agents can easily be spoofed.

how can we prevent users from accessing the webpage directly, instead of through the program?

Currently we will be implementing:

HWID Authentication to use the program User-Agent Authentication to access the web page Instant IP Blacklisting to anyone accessing the webpage without the proper User-Agent

View 4 Replies

Access A Webpage's Source Code Without Downloading The File?

Jan 12, 2010

How do you access a web page's source code without downloading the file? i.e., downloading a .php file generally wouldn't work - I want to access the code that it would return if I was using a browser.

View 6 Replies

VS 2010 Make A Program Which Access The Internet And Takes The Source Code From The Webpage

Mar 6, 2011

I've been trying to make a program which access the internet and takes the source code from the webpage. I've copied this code from the internet:

[Code]...

View 2 Replies

Url - Open Webpage (or Snapshot Of Webpage) Into Another Webpage

Mar 10, 2010

i have an aspx page with vb.net back end. in that page i get names and url's from the database depending on different conditions. My requirement is that when i get the url, the code should then use that url and have that webpage in a small preview form on my existing aspx page. so basically i have a table as follows -

[Code]...

View 1 Replies

VB - Put The Player On The Webpage And Put The Webpage On The Sever It Cant Play The Video ?

Jan 13, 2009

I making a webpage with the help visual basic. I wanted to put a flv video in it and i used flash control for asp.net [URL]. I made the player in flash told it to download the video from the sever. Now when i put the player on the webpage and put the webpage on the sever it cant play the video. But when i just pres the the player which is in swf format it works. It can download the video. But when i put the player on my webpage it cant.

View 5 Replies

Convert An ASP Classic Webpage Into An ASP.NET Webpage?

May 6, 2009

Duplicate:good references or tools available for converting from ASP to ASP.NET?How i can convert an ASP Classic webpage into an ASP.NET webpage?

View 1 Replies

.net Web Application And IIS Authentication?

May 25, 2012

I have a vb.net web application running on a local server with IIS6 installed. I was using Integrated Windows authentication for allowing uses to access the data in the application which is a combination of flat files on a local directory and db information. That worked great until another dataset was brought online and incorperated into the existing application. The problem is the flatfiles for the second dataset are stored on another server. So, although user could see the file files in the application window, if they attempted to open one it would say access denied on the directory.

I explained this to our network administrator who explained the users didn't have access to that server (even though both servers had the same permissions) and that the application wouldn't work. The only way in which I got it to work was I had to
Enable Anonymous access and use a windows user account for that access, which works. However, the application requires the users NT account for various reasons. How can I get this to work with Integrated Windows Authentication?

View 3 Replies

Asp.net - Windows Authentication Pop-up?

Mar 24, 2011

When I try to use Windows auth, the pop-up tells me: X website required login for Y domain.How can I hide the website name? And only show "You are required to login first" text on that pop-up?

View 2 Replies

C# - Windows Authentication In .NET?

Feb 1, 2012

I have a .NET application (mix of C# and VB.NET) where I would like to display a Windows Login Dialog box (or my own dialog box) and authenticate the user using Windows Authentication. Per requirement, I need to ask the user to authenticate after AT LEAST a minute of being idle. I would prefer a .NET native way of doing Windows Authentication but interested in other ways...

View 2 Replies

DirectoryServices Authentication?

Sep 18, 2010

The following code works when I run the project exe with admin credntials. How could I pass the credentials in the code?

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim HN As String = Me.TB_HN.Text

[code].....

View 2 Replies

Getting The Login Authentication?

Jan 17, 2009

The user must submit his username and password. After 3 unsucessful trials, the program must terminate. It is required that I use the for loop structure. I don't know if i'm making it right. Here's the code I've done :

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim c, d, f, g As String
Dim a As Integer

[code]....

View 2 Replies

LDAP Authentication Using .Net?

Sep 12, 2006

I have a LDAP Server ("Test.dir.svc.mytest.com") and i want to check if an user with UID a PWD is certified. How to do it?

View 5 Replies

Use Windows Authentication In WPF?

Oct 5, 2009

how to use Windows Authentication in a WPF app. I wouldn't have thought that it would be any different than in any non-WPF app, but it seems that it is. I want to go into my project Properties -> Application and ensure that Windows Authentication is on, but that option is not available in a WPF app (as the following document confirms).

[URL]

If I ignore all that and just look at My.User.Name (VB), it is empty. This tells me that somehow Windows Authentication is not enabled.My plan is to use a PrincipalPermission attribute to restrict access to certain parts of my app (or perhaps the entire app, by applying it to Application_Startup()).

View 2 Replies

Windows Authentication Using C#

Mar 11, 2010

I want to use windows authentication in my c-sharp desktop application.where I cloud use windows create new users service and allocate local storage space.

View 1 Replies

Add Windows Authentication To Application

Jun 28, 2011

I have a application that prints labels on a community computer.I would like to add a Windows authentication login form to allow any of our employees to access a configuration screen.The request would bring up the login form if the login passed (meaning the username / password was correct) the configuration form would open.Otherwise the user would just get a warning Msgbox.So far all of the examples I could find either apply ASP.NET or use the logged-in user. Not for additional access as I'm trying to do.

View 7 Replies

Asp.net - Is Forms Authentication Totally Necessary

Aug 18, 2011

I'm writing an internal web application right now (with ASP.Net Web Forms), and it presents an odd problem. I have to be able to impersonate the currently logged in windows user, and execute a command based on their Windows Authentication to log in.. AND ... if they don't have Windows Authentication set up in the application I have to use to log them in, I have to be able to accept a user name and password. I also have to write the application in .Net 4.0, and secure it as much as possible. I got this to work by NOT utilizing Windows Authentication or Forms Authentication in the web.config, and instead setting session variables to guard against user accessing pages in the web app other that the log in. I did this by creating an oddly name session variable with a value based on their user name (windows auth or not), and then a secret session variable. The secret variable is in the web.config as a 256bit encrypted string, in which I decrypt, and set as the session secret. In order for the page to load, the first session variable can't be blank, and the second variable has to equal the decrypted key value... if the variables don't pass inspection, it redirects them to the login page. I set this up on every page, generic handler, and webservice method in the web app. I make the session timeout after a few minutes of no activity, and on log out, I set all session variables to nothing, and expire all cookies. (I also disable all cache).

My question is... Does this offer comparable security to that of Forms authentication? I have always used Forms authentication, but can't use it here. If I did, the users would have to reconfigure settings in IIS and in he web.config to toggle login procedures (From my knowledge, you can't use both Forms authentication, and windows authentication to manage the security of your pages and other web resources). With the method described above, I can accomplish the best of both worlds, but am curious about the security of my methods. Is there anything else I can implement here to assure the utmost security other that using forms authentication? Is it possible to accomplish the same level of security of Forms authentication without using it?

View 1 Replies

Authentication For Windows Application?

Feb 28, 2012

I am working on a windows application and I am developing application using VB.Net. I want to create one form for Username and password and I want to create a table in database which will contain all the user details with UID and Password. So I am planning to use either Windows authentication or SQL authentication on database side for allowing user to connect database with my application But I am curious to know the best practices which are widely used across. Can anyone share the blogs,articles or your own experiences.

View 10 Replies

Authentication With Windows 2008 R2?

Jun 13, 2011

I write a dll some time ago that authenicated with a Windows Server 2003 Domain controller. Every thing worked fine. The IS group upgraded the domain controllers to Windows Server2008 R2 this weekend, now I can not authenicat anymore. It seems to have the correct LDAP path, when I get to the function that does the check for the user name i get the following error.

?_dsEntry.NativeObject
A first chance exception of type 'System.DirectoryServices.DirectoryServicesCOMException' occurred in System.DirectoryServices.dll
{"Logon failure: unknown user name or bad password.
"}

[code]....

View 3 Replies

Basic Authentication Without Password?

Feb 26, 2010

I am currently developing an application in VB.net that opens up a web document via Web Browser Control, parses the HTML, and sends back the data I need. This is not a problem.However, one of the sites requires basic authorization to access. I know the following code will workThe dialog box will come up with in the User Name box, but the window focus will be on the password box.

View 3 Replies

C# - Forms Based Authentication?

Jun 24, 2010

If I wanted to make sure that AUTHENTICATED users were denied access to Enroll.aspx and UNAUTHENTICATED users had access how should my "allow/deny users" tags be set in the web.config?[code]......

View 2 Replies







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