hello community,
I am using Scada LTS where multiple users will access my specific service, ie I have to make a group of views available to these users. The point is that if I have 100 users and each user accesses 5 pages I will have 500 pages.
How can I create dynamic views?
Related
I have 40 individual asp.net webform websites created for different purposes with different databases.
Now my task is to get all this in one roof.
Since everything is indivdual websites the user login credentials are available in separate tables with authorization rights from sql table which controlled in webconfig.
My problem is that each websites consist different Login Tables with user data.
One user is allowed in 4 websites.
One user may be allowed in 25 webites.
One user may be restricted to use only 1 website.
Tot user count is 3000.
What is the best approach to merge all this websites in one roof with same kind of individual website login authentication mode?
I tried to keep root level webconfig and folder level webconfig. The root level webconfig will check the user login and allow to enter home page.
In Home page 40 websites are listed. When user clicks any website it go to the concerned websites folder and act like individual website like current method. But it is not working since folder level webconfig is not allowing to have authentication mode getting stored in it.
Any suggestion / direction will be highly helpful.
Well, assuming you have all web sites under one site?
Then you would have a user role that secures each site, and if the user is not a member of that security group (role), then they would not be able to use that sub site.
So, you need/want 40 roles, and then you can have one logon, and then assign a role to that user for each web site.
with some kind of admin page, you could list out the sites (the role for each site) and have the admin check which sites they belong to.
So, assuming your using standard web security (most likly FBA), then you not have to write new or additional code for this to work. But then again, this also assumes that roles are the same for each site, since if security was used in each site - based on role of course, then you would have to keep the existing roles, and add one more new role to each user that allows use of the given site.
It is said you cannot create apps automatically with the current facebook API.
Create and Configure Facebook Apps via API
How to programatically create a Facebook application via JS SDK or Open Graph API? (createApplication)
Yet woobox.com does it.
I have created a few photo contests in their portal. It didn't ask for extra permission. No dialogs showed up. I just got these links:
http://www.facebook.com/pages/-/105892812908965?sk=app_422118604517529&app_data=dlt-1
http://www.facebook.com/pages/-/105892812908965?sk=app_451684954848385&app_data=dlt-1
How did they create these apps?
app_422118604517529
app_451684954848385
I would expect
www.facebook.com/pages/-/105892812908965?sk=app_SAME_APP_ID&app_data=WOOBOX_ID_1
www.facebook.com/pages/-/105892812908965?sk=app_SAME_APP_ID&app_data=WOOBOX_ID_2
You are correct with the presumptions that Facebook apps/users/groups and pages can't be created dynamically. What woo box is what many other page tab applications are doing. They create a number of applications for different templates and then customize them according to your inputs. They don't create apps dynamically. And these dynamic apps get their required data from app_data field.
Another point to note is
An app can't be installed on a page twice
that is why many Service provider that provide page tab applications maintain a pool of applications to fulfill their user's desires.
I have a couple of PHP applications that run over WAMP Server, and for management reasons my boss told me to migrate the into an IIS server and ASP.NET so we only have to manage one database of users, in this case the Active Directory Users Group (Windows Server 2008 R2).
So we would create a security group called Delete_Update_Stock_Toolcrib, and only the users inside said group would have access to the web page where the transaction takes place (no need for ultrasecurity, since my users a really really basic users).
So my question is, is it possible to get an automated authentication from the AD user using a .NET API?
Just like Sharepoint, where according to the security groups you are in, you can access certain parts of the information available for your departament.
You could authenticate users using the built in ActiveDirectoryMembershipProvider.
Then, in ASP.Net, the concept that is the nearer of Users Group is Roles. There is a Active Directory Roles Provider on codeproject that should allow you to map Users Group to Roles, but I never tried it.
Here a great tutorial on the subject
I want to build ASP.NET MVC-3 web site that will have some reports.
mainly the web site consists of some reports that search data.
The reports will be available internally inside the company and externally.
internal staff has more reports, and even with the shared reports, will have more data to display and look for.
What are the best approach to do that.
internally the security will be based on windows-authentication.
Externally will be on active directory.
Authentication is about checking you are you say you are. Your question is about authorization. Which rights you have, what you can see or not.
I would use different roles for internal and external users. Based on your role you have more or less rights.
Is possible define different profiles a the same time?
I have two type of users in my web site and they have different properties.
Using asp.net profile is possible to define two or more profiles with distinct properties?
If you have different types of users in your app, you probably want to look at ASP.NET Roles.