How To Anonymously Authenticate Between A Desktop App And ASP.Net Web App
Dec 3, 2009
I'm looking for a way to pass some sort of credentials or Authorization token from a VB.Net Client to an ASP.Net web application that allows the Client to auto-login to our Forms-Authenticated website. If a user is logged into a local application, I want them to be able to view some web pages without having to login to the website as well. The credentials are not the same between the apps, but I would just like to pass some sort of encrypted token or key to the web page so I know they are coming from the desktop application. Is this possible without requiring a username and password login?
I also need to make sure this URL that is used cannot be simply copied and used from another location, so I'll need to include some sort of information in the encrypted value to know where it's coming from.I know how to login the user with Forms Authentication and all that, just need to figure out the best way to secure this.
View 6 Replies
ADVERTISEMENT
Feb 1, 2010
I am finished making my app in VB 2008 for sending emails anonymously using SMTP.
View 2 Replies
Jun 5, 2009
Apparently these two thing don't really have anything to do with eachother.Is there a way to send EMails anonymously through an SMTP Server?
View 8 Replies
Mar 11, 2011
Is there any way to create a web browser that hides your IP address and pretty much lets you surf the internet anonymously?
View 2 Replies
Jul 21, 2011
I'm have use md5 to encrypt the password and now I want to authenticate the user. Protected Sub BtnLogin_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnLogin.Click
Dim connStr As String = "Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True"
Dim sql As Data.SqlClient.SqlConnection
Dim MyCom As Data.SqlClient.SqlCommand
[Code]...
View 3 Replies
Sep 5, 2011
I have to develop newer version of one our existing application in vb.net.In which i have to authenticate user with 'AD LDS'. In earlier version of application,It was authenticating user with direct connecting to ad server with searching object credential . But now when i am applying same code to in that scenario , it is not working.
Below is my code which i have used over there .
[Code]....
View 1 Replies
Sep 5, 2011
I am a junior developer in Asp.net team. I have to develop newer version of one our existing application in vb.net. In which I have to authenticate user with 'AD LDS'. In earlier version of application,It was authenticating user with direct connecting to ad server with searching object credential. But now when I am applying same code to in that scenario, it is not working.
View 8 Replies
Jun 16, 2009
I'm trying to write some code that can read events from another computer's event log. I haven't used WMI or System.Management all that much before this, and despite all the examples I've found on the web (there's a lot), I cannot authenticate to another machine.
No matter how I tweak the code, I always receive a System.UnauthorizedAccessException in System.Management.dll. (The message is "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))".) I have tried connecting to two different Vista machines on the network using their local user account information.[code]...
View 1 Replies
Sep 5, 2011
I have to develop newer version of one our existing application in vb.net.In which i have to authenticate user with 'AD LDS'. In earlier version of application,It was authenticating user with direct connecting to ad server with searching object credential. But now when i am applying same code to in that scenario , it is not working.
View 3 Replies
Sep 1, 2010
I am developing an application to create users on AD LDS (ADAM in the previous version). I would like to use an Active Directory account to authenticate in AD LDS, and then create and modify users (in AD LDS) but I simply don't know how to do it using VB .Net or C#. This method is used in the ADSI Edit when I choose Advanced and Specify Credentials. After some research I believe that I have to user user Proxy Bind. ADSI Edit permits to bind with a domain account. So I want to replicate that process using VB .Net (preferably) or C#. This is the code that I use to connect to AD LDS: [Code]
View 9 Replies
Feb 12, 2011
I was wondering if anyone could please point me in the right direction. I have spent some time looking for answers on the web and not found exactly what I need.in a nutshell:I want my program to be registered once a user enters a serial number of some sort along with their email address. I have an app for my phone and that is what I had to do to get the full version of it.
View 12 Replies
Dec 15, 2011
how to authenticate username and password to the database
View 3 Replies
Jul 29, 2010
I have an applicaction in VB6 and I'm traying to authenticate users by Active Directory. Is it possible to validate the user name and password?
View 2 Replies
Feb 8, 2010
I've been googling for some VB.Net code to authenticate to a web server with the POST method, receive a session ID in a cookie, and then send this cookie along with all GET queries... but all I found is half-working code or C# code, ie. difficult to use for a VB.Net newbie.
View 2 Replies
Apr 7, 2011
I have a web form that uses AD to authenticate users. I want to be able to authenticate users with expired password, and redirect them to the password change page after authentication.
if for instance, a site admin reset a users password, I use the method below, to make the user reset their password on next logon.
Public Shared Sub ForceUserToResetPassword(ByVal LDAP_URI As String, ByVal UserName As String, ByVal Auth_UserName As String, ByVal Auth_Password As String)
Dim LDAPEntry As DirectoryEntry = Nothing
Try
[Code]...
View 3 Replies
Sep 17, 2009
I have the Application program but I need an authentication program and password login program in VB 2008 , before starting my program.[URL]
View 2 Replies
Apr 7, 2011
I have a web form that uses AD to authenticate users. I want to be able to authenticate users with expired password, and redirect them to the password change page after authentication. if for instance, a site admin reset a users password, I use the method below, to make the user reset their password on next logon.[code]
View 1 Replies
Apr 12, 2010
I want to authenticate each user every time. in vb 6.0 i used this
Private Sub cmdIngresar_Click()
Dim rs As New ADODB.Recordset
Dim strConsulta As String
[CODE]...
So, my question is how could i modify it for vb2005, because vb2005 don't use recordsets?
View 4 Replies
Apr 8, 2012
how to authenticate users with the SQL Server database table using VB as a web service. I managed to connect to the SQL server via this VB code;
Public Sub ConnectToSQL()
Dim con As New SqlConnection
Dim cmd As New SqlCommand
[Code].....
View 1 Replies
Jun 11, 2012
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
View 1 Replies
Sep 5, 2011
Some of u already know I'm making a 'virtual desktop'- thing.Only one problem. When switching to a new desktop it starts a new instance of my app in that desktop (works) and on the form load event it says process.start("explorer.exe") <- here is the problem. It only shows a window not the actually bar.Also this may be important it shows the window, but when I navigate to explorer.exe 'C:Windowsexplorer.exe' and open it there. The explorer bar does show up.
View 14 Replies
May 17, 2009
I'm working on one of my applications and I'm trying to find a way to use the "Go To Desktop" function that goes directly to the desktop without minimizing any window (This can be achieved by clicking on the Win + D buttons or on the desktop icon in the quick launch toolbar), but how can I activate it using vb? I thought about sending keys but I guess there is more offical ways to do it.
View 10 Replies
Mar 20, 2010
I would like to make a image in the form representing the icon and a label below it to represent name but is there a easy way to do this.
View 2 Replies
Jan 27, 2012
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)The main reason is we area talking about an Environment that has XP, Win Server 2003 (TS), Win Server 2008 and Win 7. Obviously different path depending on the OS. I need to copy a file to a users desktop and would like to do so without having to hardcode the path as it could change depending on where they are working from.
View 5 Replies
Jun 9, 2011
Being new to vb.net, how do i get a exec mod for the desktop ??
View 8 Replies
Sep 30, 2009
[code]This works just fine in ASP.NET (web app) but, how do i do the same from Desktop Aplication (vb.net) ?
View 4 Replies
Sep 30, 2009
im making a program which is a sort of mock OS, and im wondering if it is possible that, when i click a certain button, a picture box appears in the space which is the desktop. The picture box must act as a shortcut, for example if i click on new text file, a picture box with a text file picture appears on the desktop space, same for folders
[Code]....
you check the tutorials that you post! I am using Visual Basic 2008 Express, not any earlier additions! One of the tutorials was about how to make labels that tell you their screen location!
View 9 Replies
Oct 9, 2009
I want to move a file from the users desktop to the running applications folder.This is what i have which works for me - but the desktop path will be different for each user so am looking for the system path
Dim FileToMove As String
Dim MoveLocation As String
FileToMove = "c:usersmedesktop est.txt"
[code]...
View 4 Replies
Apr 11, 2010
how to POST to a php file form a vb.net app: http:[url].... So now I've logged in the user user by posting their username and password to the php file, the php file then does security/checks they exist/etc and if both username and password are correct is stores the user ID in a session variable.Now if the vb.net app tries to download data off a page which needs the user to logged in, it checks this by doing:
if (!isset($_SESSION['uid'])) {
header("Location: index.php");
}
However after having logged correctly in the app the session variable is not set.How does session work with a vb.net app like this?When the user logs in successfully should I download the user id and keep it in the vb.net app and then post it to each page that requires authentication?
View 4 Replies
Feb 7, 2012
I'm making "Sticky Notes" and I want to be able to pin those stickies to the desktop. Sorta like a BottomMost function. Is there something like that I can use and if not, how would I even go about making a function that would keep my form on the desktop?
'Pins the program to the desktop
If saved = False Then
saved = True : PinToDesktopToolStripMenuItem.Checked = True : lblClose.Visible = False : Me.ShowInTaskbar = False
Else
saved = False : PinToDesktopToolStripMenuItem.Checked = False : lblClose.Visible = True : Me.ShowInTaskbar = True
End If
The reason I'm not going to mark it resolved is because if I click pin to desktop and the desktop isn't the application directly under my application then I have to minimize every program to get it to stay on the desktop.
View 10 Replies