Hello all,
I am writing an aspx (Visual Basic) logon app for a friend (he needs
to be able to reset expired passwords, so the regular windows logon
won't work). Everything is in the same domain and secure, so that
isn't really going to be a problem.
I created a logon page, that checks user name and password against
active directory:
dso = GetObject("LDAP :")
oUser = dso.OpenDSObjec t("LDAP://" & LDAPServerPath,
txtUserName.Tex t, txtPassword.Tex t, 1)
After the username and password sare verified, I retrieve the groups
the user belongs to, and read an ini file to determine what page the
user should be redirected to based on their group.
No problem up until now, the thing is, the permissions to the pages he
wants to redirect to are set by NTFS. I can't figure out how to use
the logon information supplied by the user to access these pages
without the windows "connect to <server>" screen popping up.
If the user signs on using the pop up, then they can access the page
as long as they don't close the browser. If they do, then they have
to do it all again.
Is there a way to authenticate/authorize the session? He is using
"Basic Authentication" on a 2003 machine (IIS6)
I tried posting this on
microsoft.publi c.dotnet.framew ork.aspnet.secu rity
but got no replies.
Thanks for any help, this is all I have left before the project is
finished :) 0 935 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: BingoHandJob |
last post by:
Hello group!
I'm having a problem and I hope some of you may be able to point me in the
right direction.
I inherited a web site using php, running on Windows 2000 & IIS. The site
was developed by a consulting firm about a year before I came on board, the
consultant has since gone out of business. Overall, I've never had a
problem with the site and have been able to figure out nearly everything
they configured on it.
|
by: Matt |
last post by:
Hello,
In my application that I'm writing in C++ (and maybe Java),
specifically the cygwin flavor of C++, I want to be able to open any
existing files in FAT32 or NTFS file systems (in Windows XP) for
read-only purposes. In particular, I want my program to
unconditionally be able to read-only open any file--and be able to
read all the contents from said fail--which has been marked with any
sort of "exclusionary" lock, including write...
|
by: Jim Richards |
last post by:
I have been told by a local PC club technician that 98SE cannot read NTFS
drives in a network. Is this true? TIA, Jim.
|
by: Ben Dewey |
last post by:
Project:
----------------------------
I am creating a HTTPS File Transfer App using ASP.NET and C#. I am
utilizing ActiveDirectory and windows security to manage the
permissions. Why reinvent the wheel, right? Everything so far is
working well with the Active Directory. The problem I am having is
with adding File Permissions to a directory. I am currently using
some code courtesy of "Willy Denoyette "
|
by: VP |
last post by:
Hi there,
well i am stuck on a problem with regards to obtaining security
permissions on folders. At the moment I have created a simple treeview
example which shows all sub-directories in a tree form for a particular
directory.
Then I wanted to see how the application would handle a
sub-directory(test1) if the current user logged on win2k box didnt have
the permissions to access test1. The application throws an exception
| |
by: Pål Andreassen |
last post by:
Running Windows 2003 Server
Framework 1.1
A site is configured to use integrated security (in IIS 6)
Windows autentication and user impersonation in web.config
<identity impersonate="true" />
<authentication mode="Windows" />
I've got a ASPX page that lists folders and files from a predefined
location on the server. These folders and files have access rights set to
|
by: Mohamed Zaki |
last post by:
Dear All,
I'm facing a strange problem, I've an ASP.NET web application that contains
an admin folder, in this folder the access should be restricted to specific
users, as i'm using windows authentication and using impersonation
(<identity impersonate="true" />) i've applied NTFS permissions over the
admin folder, but all users still access the files within this folder!!,
when the users type the folder (http://testapp/admin) only they...
|
by: Zach |
last post by:
The formatting system of my HD is NTFS.
When I right click on a file in Windows Explorer, I get a
Properties Window with only two tabs: "General" and
"Summary". I don't get a Security Tab, allowing me to
set access permission. Given that the formatting system
is NTFS, why am I not seeing the required tab, and why
am I not seeing the appropriate Properties form?
Please assist.
|
by: Dino M. Buljubasic |
last post by:
I am wondering would this work on FAT16 and FAT32?
if File.Exists("filePath\TestingTester.exe")
I know that FAT16 uses 8 char file names and that a file longer then this
would be automatically renamed to let's say:
file name TestingTester.exe would be called Testin~1.exe
Thank you,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |