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 6734065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:50:42+00:00 2026-05-26T10:50:42+00:00

Where I can Find some Example about Security.Principal and Security.Permissions ? I want to

  • 0

Where I can Find some Example about Security.Principal and Security.Permissions?

I want to develop a Winform login form and Webform login page and manage their security.I want to know how and how much this 2 namespaces help me.

thanks

  • 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-26T10:50:42+00:00Added an answer on May 26, 2026 at 10:50 am

    Give you are using windows forms, your best bet will be to use the WindowsPrincipal class. Do you have access to an active directory? What are you trying to secure?

    If your app just uses a flat file for the database, all you really need is to set an ACL on the file it uses, windows will stop any app, not just yours from accessing the file. Or do you need to access resources remotely, like WCF, SQL, Web services.

    We need a little info and we can give you a better answer. But in lieu of that, you are definately better off not writing any code other than a check of the user’s group or WindowsPrincipal.IsAdministrator for instance as a check in your app. If that’s the route you are going to take, then you need to consider UAC in Windows Vista/7.

    More info please:

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

Sidebar

Related Questions

Were can I find some good Podcasts that talk about program with Delphi &
I am trying to find some example code or best practices about making CMS-type
Some thoughts about writing custom html helpers. In our project everywhere you can find
Hopefully I can find some words of advice from somebody. Is it possible to
Do you know where I can find some practice SQL problems where I can
I was wondering where I can find some information how IE8 actually handles xml
Where can i find some .Net or conceptual resources to start working with Natural
Where can I find some good pointers on best practices for running ASP.NET MVC
Where can I find some in-depth information on tuning statistics in SQL Server 2005?
Where can I find some good documentation on data/element binding? My Google searches haven't

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.