Security :: Get All People Objects For Each OU Returned?

May 13, 2010

AD : Get All people objects for each OU returned

[Code]....

View 1 Replies


Similar Messages:

Security :: Prompt Network People But Not Outside People?

Sep 23, 2010

I have a question.aspx page that allows "guests" and "admin" to use. If guest access the page, it says Submit, if admin access it, it says "Approve" on the button control.

My question is, when guest accesses that page, I don't care about their credentials, but when admin accesses that page, I want them to log in first. And the Admin users are the ones that work in our company with the same domain and such. Anyone that access outside would be "guest".. how can I prompt people in the same network when they try to access that page? I need that AD credentials to do some programming in code behind.

View 1 Replies

Security :: How To Create User Account For Big Group Of People

Aug 25, 2010

I need to create individual account for a big group of people (around 200) from an Excel spreadsheet. What is the best practice? It will take too much time to create account using web form. I think there must be a way to do it. I tried to use Stored procedures created by ASP.NET.

View 2 Replies

Security :: Making Set Up A Way For Select People To Be Able To Create An Account?

Mar 12, 2010

I am setting up a website, and I want to set up a way for select people to be able to create an account. What I want to do is make a field for a security code, that when entered, will take them to the create new user page. I do not want just everyone to be able to set up a user account, as it would expose wholesale prices to the general public.

For example, Business X wants to set up a wholesale account. They contact the business owner, and when the owner verifies the business is legitimate, she can give them the security code to enter. Once the correct security code is entered, it will then take them to the account set up page.

I have VWDEE2008, and have used the Administer Website tool, and am familiar with using that.

View 1 Replies

Security :: Strategy For Multiple People To Edit Different Records On One Page?

Feb 24, 2010

I've been developing a database system that stores test results from two different machines. (It's a foundry, each machine tests for the amounts of a collection of elements in a piece of metal. One machine does the tests on iron, the second on aluminium. Both produce the same list, but each machine will have much more of some elements than others.)

I used folder security to limit who has access to what folders, so there is a general page for anyone to view results from any machine in the root, one folder has a page to allow people in a particular group to edit/correct the iron results, and a second folder has a page to allow another group of people to edit/correct the aluminium results. Now, we've picked up a third machine which tests aluminium samples too, and it belongs to a third group of people. What is the best or recommended method to allow this third group to edit samples from the third machine only?

1) Should I have a third folder, and copy in the page from the other aluminium folder, and tweak it so it only shows and allows edits to results from this new machine? This seems like the quickest, easiest method, but a waste of effort as it's mostly duplication of existing work.

2) The other option I see is to keep one aluminium editing page, but to limit the results that are shown to the ones that the current user should be allowed to see. (One page which shows one group of people one half of the results, and shows a second group of people the other half of the results). Is there a way to achieve this that is almost as easy as using folder-based permissions?

3) Is there another way that I'm missing?

View 2 Replies

Security :: Filtering The Rows Returned By Membership.GetAllUsers()?

Dec 22, 2010

In our asp.net application, we use Membership.GetAllUsers() in order to allow the administrator work with the site's membership.

Is there a way to filter the rows returned by Membership.GetAllUsers() method? I'd like to be able to have a textbox where (part of) the user's first name / last name is entered and then call GetAllUsers() - or a different method - to get only the users whose name begins with value in the text box.

View 4 Replies

Security :: The Remote Server Returned An Error: (401) Unauthorized?

May 12, 2010

this is a bit of a strange one. have my front page of my intranet site and I am trying to pull an RSS feed from a subdirectory forum.

Root
Default.aspx
--->Forum
--->Rssfeed.aspx

On my default.aspx I can pull RSS Feeds from the BBC or any other external website so my code is working fine but when I try and pull a RSS feed from my local server I get "The remote server returned an error: (401) Unaithorized".Now, if I go to the Forum directory within IIS and change the directory secutiry from "Integrated Windows Authentication" to "Enable anonymous access" the RSS comes through to the front page without any errors, however, the forum requires "Integrated Windows Authentication" to be enable to that my users can post on the forum. If I turn both on then Windows authentication is still ignored for my users when they visit the forum.I have hardcoded my credentials in to the Default.aspx.cs to see if that helps but I still get Unauthorized message.My code is here:

[Code]....

As you can see I have tried a couple of different ways to get the credentials to work, it just seems to ignore my credentials and I have full admin access to the server and when I visit the forum it picks up my username.

View 7 Replies

Security :: Wrapping Authorization Around Page Objects?

Jan 26, 2010

A few years ago I worked with a team that developed what we thought, at the time, was a unique security model for a company ecommerce site. We wrapped every object (that we cared about) with a authorization / role check. So internal and external would use the same site but what fields, buttons, links etc. that they saw varied with their authorization / role assignments. I know .NET now has some RAD (Rapid App Dev) tools for security / authentication / authorization. Everything I have been reading is based upon securing pages / folders / areas of a site but nothing about the level of granularity we took it to so:

1. Was this not such as good way to go back when we did it?

2. I thought Microsoft had an entire security "plug-in" (Not Windows Authentication). Database, roles, etc.

(Don't get me wrong they have made life a ton easier with what they have given us)

3. What is the current method / practice in use for reasonably high security ecommerce environments. Cookieless Forms Auth? Something new altogether?

View 2 Replies

Security :: Access Membership And Profile Objects From Windows Service?

Feb 19, 2010

I want to access membership and profile objects and wants to access profile properties that I have defined in my web app web.config file, from a windows service. Anyone have any idea on how to do this?

View 3 Replies

Forms Data Controls :: Binding A Repeater To A List Of Objects That Have Child Objects?

Nov 17, 2010

have some Objects, lets say Employee and Role defined as below and I have defined relationships in my database that gives me a list of objects say employees and thanks to my framework each employee object also has a Role object linked via the RoleIDID, UserName, Password, Email, RoleIDRoleID, RoleNameSo in code I can do something like this

Employee emp = dataService_GetEmployeeByID(1);
string RoleName = emp.Role.RoleName;

Now here is my problemI can bind any object in a repeater and it works fine for the first level in my relationship

For instance <%# Eval("UserName") %>

But I need to be able to show the details for my child objects as well (Role) so something like this (which does not work)

<%# Eval("Role.RoleName") %>

View 2 Replies

Forms Data Controls :: Binding An Objects(containing Sub Objects) To A Dropdown List?

Apr 6, 2010

I know how to bind a simple objects to a dropdown list. However I am having problems binding my objects which contains sub objects to the control.i.e. with simple object i just do ddl.DataValueField = "myproperty"
with my objects they contains sub objects which i want to bind. I have tried ddl.DataValueField = "sub-object.myproperty" which doesnt work.

View 2 Replies

Architecture :: Using Static Methods To Build User Objects And Various Other Objects?

Jun 21, 2010

firstly a static class only ever exists once and is not an instance. Any static members (ie static int NoOfPeople;) is stored in one place and is shared between all sessions (like the old global variables).
Now static methods is where i'm not 100% sure. If I have a static method that doesn't use any other static members could this cause inconstant results, example (this is a fairly pointless method but just a quick example of the top of my head)

[Code]....

So in this example if two sessions (or threads) were to call this at the same time - would they both get back the expected results, because the method only uses private data (a, b and totalToReturn).Im sure this sounds a little simple but I will be using static methods to build user objects and various other objects that there will have to be a 100% garentee that the objects will not get mixed up between sessions and the wrong things return to the user.

View 5 Replies

Count How Many People Are Seeing The Page

Feb 16, 2010

how can we count how many people are seeing our page?and how how can we count active users?

View 12 Replies

SQL Server :: People And Addresses - One To Many Or Many To Many?

Aug 13, 2010

We're debating on the architecture of this university database project. We can't decide if we should relate the tables as -> "one person to many addresses" or "many persons to many addresses". We understand that there will be duplication of some data in the "one_to_many" schema. How bad would that be. "many to many" is obviously more normalized. Are there any trade offs for either setup? We expect there to be 100,000+ people.

View 1 Replies

Dynamic Data Be Made To Work With Custom Business Objects Rather Than Data Objects?

Feb 24, 2010

I'm working on a project in which we have a database, data layer (entity framework), business layer and web/UI layer.I want to use ASP.NET Dynamic Data for the web layer, but don't want it to access the data layer or database, as I want it to be purely running off business logic, and not directly accessing the data.However, it appears that Dynamic Data only allows Linq-to-SQL or entity framework data sources to be used.Has anyone used it with business-layer objects instead?

View 1 Replies

Send Mails To Different People Within The Organization

Feb 19, 2010

In every organization there will be mail access project. I want to know the sample application. Can u please tell me the sample application. I know how to send the mails from asp.net page, by using one email id. means by setting the mailer host, username and password details in web.config file. But i need to send from different email id's to different id's.

View 3 Replies

Warning: Only Smart People Click Here?

Apr 23, 2010

so theoretically, i have multiple companies using my application, and each company has multiple users. Now data is stored in a sql database and certain parts of it are changed enough whereby it has to be "reselected" by every user after a specific amount of time. ill call this the "highly dynamic data." (I already sorted out the 'users by company' effeciently with a cluster index in the companyID column for the tables)

lets say that each session will "check" if it has to be updated every 15 seconds. How will it check? If someone submitted a change to the "highly dynamic data" in the sql database then they will also submit the "time of change" to an .xml database. Moreover, each session has a "last updated" session variable. The session that submitted the change will update his "last updated" session variable at the time of the sql update. However, all other sessions will have out dated "last updated" session variables. and every 15 seconds each session checks the xml database to see if their "last update" is current. If it is not current then it does the sql database update, else, it does nothing..is this a good mechanism for efficient updating? The goal is to keep the sql database as free as possible and reduce strain on the server?

edit: oh yeah, how would i implement the timing factor here? firstly, i assume the 15 second counter shouldnt be concurrent with all other users, otherwise the server would be a cluster-f*** every 15 seconds so how would i incorporate some randomness for each session?

View 4 Replies

Web Forms :: Get People In The Textbox Before The Deletion

Oct 19, 2010

checkboxlist textbox from a data transfer,I want those people in the textbox before the deletion.

obviously...

The second update, not deletion textbox

View 1 Replies

Actually *do* In AnkhSVN When Two People Edit The Same File Under SVN?

Aug 6, 2010

Our code is in SVN. We develop using Visual Studio and the AnkhSVN plugin.Having used VSS before SVN I was used to the idea of locking files so other users know not to edit it while you are (in fact I thought this was the main point of source control, to prevent lost data from these conflicts).I've been told this rarely happens and cases where you can't work because another dev is locking you out are more frequent (which sounds like a principle that might only apply to a certain subset of dev projects). But anyway, SVN is better and we're using it.

So when I do edit a file, and go to check it in, and find out the other user has edited it too, what do I actually do?Surely there's a better way than saving a copy of my file, reverting changes,updating it from server,then merging my changes back in with winmerge? When I right-click the file and click 'merge' I'm told I should update first, so that's obviously not what I need.Update: partial answer OK, it sounds like I just hit update,then SVN merges non-conflicting changes automatically,and should let AnkhSVN know about any conflicting changes to allow some kind of resolution.Does anyone know how this works in AnkhSVN - what I'd actually do?

(if not I'll try it myself, accept the current top answer and update this question with the second half for posterity).

View 2 Replies

How To Host The Web Application On IIS 7.0 So That 100 People Can Be Accessed Locally

Feb 11, 2010

How to Host the Web Application on IIS 7.0 so that 100 people can be accessed locally.

Request you to provide steps on how to go ahead with it.

View 6 Replies

How To Stop Two People Booking The Same Appointment Time

Feb 1, 2011

As the title states, how can i stop two users from booking the same appointment time.

Example, two users logging, on there screen they can both see that a 1pm appointment is available. They both try to book themselves into that appointment time.

How can i stop this from happening and ensure only one user can book it, then refresh the screen to show the next available booking time to the other user.

View 2 Replies

DataSource Controls :: Accessing The Same Database Many People At Once?

Sep 21, 2010

I made a website, 1 database; We have 4 cumputers, the 4 are using the same website and saving datas at the SAME TIME.

The problem that i have is that when 2 people click in the save button at the same time, only onces is in the database, but the others get lost.

Visual Studio 2010, Framework 3.5, MS-SQL 2008, C#.

The conecction is in c#, everthing is in c#.

View 1 Replies

.net - Use Custom Member Properties For People On My .NET Website

Mar 25, 2010

I am trying to make an asp.net website using Visual web dev and C# that accesses data in an SQL database. For my site, I need to be able to save and access additional user properties such as age and gender. I have been playing around with the built in .NET Login tools but I don't understand how to keep track of the additional properties (age, gender...) I could store all the users information in my own database but how do I correlate the users data in my DB to the usernames in the member database that is automatically created?

View 2 Replies

State Management :: How To Link The Objects Between Browser Session And Session Objects

May 10, 2010

Lets say I am doing a shoping cart. I authenticate the user with a session variable.For example:

If(Request.IsAuthenticated)
// Here I want to add to the shoping cart.
// Can I do the following
Session["Cart"] = "Washing Machine";
Now will this Session["Cart"] value which is washing machine here be unique to diff customers?

View 1 Replies

How To Make A Web Site Where People Can Play Low - Tech Games

Jul 17, 2010

I have developed some web sites using asp.net and vb.net plus sql server. Now I aim to make a web site where people can play low-tech games (think online scrabble, typing one word at a time and sumitting it, maybe against the clock and maybe against an opponent).

Generally this would probably be done using Java, but would it be possible to do this kind of thing using asp.net and ajax?

View 4 Replies







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