Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3355698
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:25:35+00:00 2026-05-18T02:25:35+00:00

I have an external website that uses Active Directory for Authentication . The propsed

  • 0

I have an external website that uses Active Directory for Authentication. The propsed design would have all Athorization done by the application database server. For example the user would login with username and password and the corperate people Authenticate against AD. I would then get that username and query that database for what they are allowed to see/do in my app(one small part of the whole site)

If anyone sees security flaws stop me here.

Users are allowed to access some stuff on my pages without being authenticated.(Don’t like it but it’s a buisness requirment) However when people do come to my page without being authenticated I would like to nicely ask them to authenticate with a JQuery popup. Somethinglike $.load(coperatelogon.aspx, #logondiv).dialog() after loading my page for people who are not logged on. If they click the X and donot login thats fine. They just see the page for people notloged in.

If they do authenticate through this dialog I want to change the content of the page to something else via client code. I want to do soemthing like make a webservice call (via JQuery ajax) based on the authentication they just provided. This webservice call would see what they are authorized to see and display some content based on that.

Is there a seciruty flaw here? Something I should do slightly differently to avoid a securty flaw?

My goal is to postback as little as possable and use as much jquery and javascript as possable; and postback as close to zero times as possable to provide the user with a smooth and enjoyable experience.

I am in the early design stage of this and am very open to ideas segestions recomondations or just people yelling at me and telling me it’s a bad idea… etc.

Thanks!

Edit:
So it boils down to one main question:
How does a webservice call through $.ajax(…) know who the user has been authenticated as? Does the client pass this information? Can it be meddled with by a hacker?
And is using $.load(…) to show the security login box secure?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:25:35+00:00Added an answer on May 18, 2026 at 2:25 am

    the short answer is yes, the webservice can securely tell who is making the call.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have our own web server hosting our website that is open to the
We have developed a system that uses a single code base, consisting of four
I'm converting an old classic asp website to asp.net. The application is basically an
I need to build a small monitoring scraper for a 3rd party website (it's
Say I have 3 frames in a frameset arranged in 3 rows. Frames 1
This question relates to an ASP.NET website, originally developed in VS 2005 and now
How to obfuscate code quickly. I have a very small Java App and I
I am developing a flex charting web application which gets data from csv files.
We have a series of products with built in web servers each of which
When building dynamic websites I use a php include to make my connections to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.