Limite RemoteApp to one instance per user
Hello everyone,
A customer asked us to make an (unfinished) application available to them. Since this application is unfinished we want to make sure that only one person at a time is using it and that under no circumstances the customer can copy the application.
RemoteApp seems perfect for this, however standard it allows users to open the same application as much as they like with the same credentials.
Is there a way to limit the RemoteApp applications to one per user session?
Hi,
Another idea is to create an additional user account and limit only this account can use this RemoteApp.
Thanks.
Jeremy Wu
TechNet Community Support
Similar Messages
-
Limiting MDB to one instance per cluster
I'm working on a Weblogic setup that has one cluster consisting of three servers. We have one queue in particular whose MDB does a lot of database access. We're running into locking problems with the database because Weblogic is running an instance of the MDB on each of the three servers at the same time and they are stepping on each other's toes.
I would like to limit the queue so it only runs on one server in the cluster. The pool size for this MDB is set to "1". I thought this would limit the total number of MDBs to one, but apparently it limits it to one per server.
Any idea what sort of configuration I need to make sure only one instance of the MDB exists in the cluster? Do I need to turn this into a distributed queue and do something with load balancing?
Thanks,
MattThanks for the reply.
I looked around and I couldn't find a way to target the MDB to a specific server. I can target the JMS server, but not a single MDB. The way I have it setup currently, the JMS server is targeted to one server in the cluster (non-migratable).
How do I target a MDB to a specific server?
Matt -
Restrict application instances per user?
We have a new ERP application. As with most enterprise software, it has a restrictive license on concurrent uses. It even counts multiple instances from the same user as multiple uses of its license.
The application runs from a Windows 2012 R2 server, as a RemoteApp.
Is there a way to restrict it so that each user may only run a single instance of the application?Hi Itwally1,
All RemoteApp programs on the same server for the same user will run in the same session.
There seems to be no built-in method to limit a RemoteApp to a single instance per user session. Please refer to following threads and check if can help you.
Restrict a published RemoteApp to a single instance per user
Limite RemoteApp to one instance per user
If anything I misunderstand or any update, please don't hesitate to let me know.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
ISV embedding database with one instance per server limitation
Hi All,
As an ISV, it would be nice for Oracle to provide a better embedding solution than a silent install then having to script the creation of, or restore the database. Not because it's too complicated for an ISV to script, but purely for speed reasons. It's much faster to copy pre-loaded data files onto a machine than to create empty data files, load the data in, perform an analyze and any other scripts on the database. Dems just my thoughts.
However, my real issue is regarding the 'one instance per server' install limitation. As an ISV, if I choose to embed Oracle XE in my application - how can I 'guarantee' that my product can be installed on any given server. Picture this:
- We submit a proposal/ tender for a license to our software.
- Client, in conjunction with their IT dept adds internal costs, identifying servers that will run on, responsibilities, project plans (the whole works) etc.
- Client gets signoff from their management and pays for license.
- Client goes to install our software using Oracle XE just to find that another ISV has their software with Oracle XE embedded installed on the server.
- Client either has to find/ buy another server, or we lose the license. Either way, client is unhappy.
Am I missing something here? Is anyone else anticipating this problem?
BradHi Florin,
Thanks for the response.. a good suggestion and our schema would be < 1GB so size would hopefully not be a problem. However, as soon as we plug into another appliation's Oracle XE implementation - we've potentially lost control of the database and it loses it's "embedded" nature. Probably not a huge problem if it's an application independant implementation of Oracle XE by an IT person, but if it's another ISVs embedded database - the dramas could start.
We effectively put our user's database within the control of another application who may not have considered the possibility of our data residing there. eg. They could do a 'drop-all' and we lose our database. Or tune the database right down and our application suffers. Or the user uninstalls that application and it decides to automatically remove Oracle XE (after all, that ISV thought it was an embedded application, right?). Do you see the potential issues?
Perhaps Oracle XE isn't as attractive for ISVs as first thought... I guess at the heart of the issue is the fact that Oracle XE isn't really an embedded database. It's just a database you can [silently] install with your application and then becomes a general db on the machine. -
How to separate application module instance per user session?
Hi.
How do you separate application module instances per session or per user? I am creating a web application and has created a simple filter that implements Filter.
Thanks in advance.Hi Frank. Thank you for the reply.
I tried using two browsers. The behavior of each page is very much different when being opened individually. Its like the two pages is sharing the same iterator / data and / or entity object. These two pages were opened to see if one is dependent upon the other. But when I test the same scenario on a different computer, everything works out fine.
Is there a way for me to verify if the sessions are different? and if they are different, is there a way to verify if the application module created a new instance for the other session? -
Permit only one access per user on guest portal Cisco ISE
Hi,
Could you please help me to figure it out if it´s possible to create a guest account on cisco ISE which permit only one concurrent access?
We don't want to have multiple devices registering with the same account, just one different account for each device.
Thanks,Hi Gino,
You can restrict guests to having only one device connected to the network at a time. When guests attempt to connect with a second device, the currently-connected device is automatically disconnected from the network.
This is a global setting affecting all Guest portals.
Step 1 Choose Administration > Web Portal Management > Settings > Guest > Portal Policy.
Step 2 Check the Allow only one guest session per user option.
Step 3 Click Save. -
One Application Module Instance Per User
Hi, I am using JDeveloper 11.1.1.2 with ADF BC.
I have an application with a single root application module. I have my JDBC data source set up to enable identity based connection pooling so that a database connection is created with the current user's credentials.
Basically, I would like an application module pool such that a single application module instance exists for each user in the system. If a user logs into the system, a new app module should be instantiated for him (tied to his db credentials). If the user makes a new request and his app module has been removed from the pool for inactivity, a new app module should be instantiated even if others already exist in the pool for other users. If the user is already logged into the system and tries to login again in another browser window, I would like to check if an app module already exists in the pool for the user and re-use that one instead of instantiating a new one.
I don't want to set jbo.doconnectionpooling=true because I want the app module instance to keep its cached data.
Is this possible? If so, how could I configure the application module to make this work?Hi Frank. Thank you for the reply.
I tried using two browsers. The behavior of each page is very much different when being opened individually. Its like the two pages is sharing the same iterator / data and / or entity object. These two pages were opened to see if one is dependent upon the other. But when I test the same scenario on a different computer, everything works out fine.
Is there a way for me to verify if the sessions are different? and if they are different, is there a way to verify if the application module created a new instance for the other session? -
How can I restrict one stream per user?
Hello!
I have made a mp3-streamer in flash. Users must log on to a
web page in order to access my player. If one user logs in once
it's all OK. The problem occurs if a user "share" his account with
multiple others and log in twice (or n-times). Now I have no
control on how many users that can log onto the system.
I'm looking for a solution where for instance the first one
who logs in gets to play the stream, and all others that log into
the same account are refused access to streaming. I'm not a
back-end programmer, so I hope this is something that can be solved
using FMS. Is there a known working solution to this problem or
some features on FMS that can lock streaming to the first user.
I've tried sending in the username, however if user#1 stops
the stream user #2 is able to take over the stream, so now user # 1
is refused the stream.
TrondFMS does support connections to web services, and can make
http requests in a number of ways. I like to use remoting, but you
can also use loadVars, XML or an XML Socket connection. The best
approach will be dictated by the services you need to connect to.
For remoting, you want to look into netservices.asc , and you can
find some examples/tutorials at flash-db.com
About your scenario
1) Player sends a ticket (SHA or something)
The client (.swf would pass this data to FMS in the
netconnection.connect() argument.
2)FMS runs a remote call and verifies the ticket <-This is
the problem
No problem here. All you need to do is have your FMS app make
the request of the authentication server (based on the token value
provided in the client's connect request) before accepting the
connection. See the docs for application.onConnect()
3a) User already online? (Hmm forgot to turn off your player?)
..disconnect connection and give new connection to same user
Here's the part you'll need some new structure for. You're
going to need to be able to reference other clients that are logged
in under the username of the new client. When a client connects, a
corresponding client is stored in the application's clients[]
array, but it's up to you to add your own variables to each client
object so you have something to reference them by in your
functions. The really cool thing is, once you have a means of
picking the client out of the list, FMS auto-resolves to the client
itself, and you can target the client with other functions.
Take this server side code for example
application.onConnect = function (clientObj, userName){ //
Username was passed in the client connect() argument
clientObj.userName = userName
Now the username is a variable in the client object. To find
a client with a specific user name, you just need to loop through
the application.clients array and look for a match:
function checkForUsername(name){
for (x = 0; x < application.clients.length; x++){
if (application.clients[x] .userName== name){
// match found, do something about it. If we want to dump the
old user, we might do this
application.disconnect(application.clients[x]);
Of course, this is only one approach, but it's about the most
straighforward method I can think of.
In the case of your app, I suggest you send two values to the
FMS app in the client connect() argument... an SHA token, and the
username. You'll use the username for checking user conflicts, and
the SHA to verify the session (this should be a one time thing...
the token expires after a single use)
Hope it helps. -
Find/Change Grep only finds one instance per paragraph, where am I going wrong?
Hi,
I've been using a Find/Change Grep to find any price with a comma and change that comma to a thin space (Newspaper's editorial style).
But the Grep only finds the first instance of this per paragraph.
Sample text...
"$200,000 $200,000 $200,000.
text at start of paragraph $200,000
$200,000 text at end of paragraph
tab $200,000."
In the sample the grep would miss the second and third price on the first line.
I've been using...
Find...
(?<=\$)(\d{3})\,?(\d{3})
also tried (\$\d{3})\,?(\d{3})
Change to...
$1~<$2
Is there anything I can add to find these last two prices?
I've been using this in combination with Batch Find Replace script, so different greps are set up for 5,6 and 7 digit numbers that start with $.
Thanks.Try this,
Find what: (?<=\x{0024})(\d{3})\,?(\d{3})
Change to: $1~<$2
Vandy -
Hello,
I wanted to ask you whether someone has the title described in the constellation in operation.
So far running all local accounts access the 10.7 server resources (AFP) with the OD credentials.
As the number of employees increase, two more locations to be included and also a need for synchronized user profiles on iMac & MBA arose I wanted to know if anyone cared for a similar configuration and can perhaps tell me how well it runs.
Are there for example.
-Problems in matching/syncing the mobile user profile account with server and than to network account and back?
-Is there a way individual users folders in all three locations be present?
All client devices run10.7.5.
Maybe someone who could tell me in german, sorry for that I'll try my best if anyone could help me in english, too!
For any information, I am very grateful!Try reindexing the mailbox. This can take awhile if you have a lot of mail.
Reindex messages.
If that doesn't work try deleting MessageUidsAlreadyDownloaded3.
Quit the application.
You need to look in your user Library. Either hold down the option key while using the Finder “Go To Folder” command and select your user Library in your home folder or use the Finder “Go To Folder” command and enter ~/Library/Mail/V2/Mail Data/MessageUidsAlreadyDownloaded3. Move the file to your desktop.
Open the application and test. If it works okay, delete the file from the desktop.
If the application is the same, return thefile to where you got it from, overwriting the newer ones.
If you prefer to make your User library permanently visible, use the Terminal command found below.
Show User Library
You might want to bookmark the command. I had to use it again after I installed 10.8.5. I have also been informed that if you drag the user library to Finder it will remain visible. -
Mavericks server only serves one calendar per user
Hi everybody,
I'm a little bit stuck and could use some help. My situation:
I've installed mavericks server, configured dns and open directory, started file sharing, defined home folders for network users on the server, created network users and started calendar & adressbook services.
I've bound a mavericks client to the server and I'm able to log into the client with a network account. The home directory lies on the server and everything is running ok. I've created two calendars with the account and entered some appointments. Logging into another client everthing shows up, as it should be.
So far so good.
Now I'm trying to add the calendar of the above network account to an iphone or to another account on the client. Unfortunately the server presents on the iphone as well on the client only one empty calendar. I suppose it's a new calendar and not one of the calendars I've created upfront on the server.
Any clues?This might help: http://securityspread.com/2013/10/27/setting-sync-server/
-
How to realize only one identical remoteApp per session per user per computer?
If a terminalserver 2008 R1 is configured for only one session per user, everything works like it should if the user connects using the 'normal' remotedesktop session. A second connect with the same credentials kicks the first connect.
If a remoteApp is used instead of the 'normal' connect, it's possible to start multiple instances of this app within one user a least from one computer. mstsc do run multiple times and seem to link in the existent connection without kicking it. How to change
that?
Continuative:
The started RemoteApp checks the mutex of all started processes and stops herself if a process is found with the same mutex. This prevents multiple instances of this app within one user with the same sessionID. If a terminalserver is configured for only
one session per user, this RemoteApp shouldn't start multiple within one user. Using a "normal" remote desktop session the app doesn't start more than one time, I tested it. Used as RemotApp, the app starts multiple! Possibly I'm able to change this behaviour
with a code fix instead of configuring terminal services. Any tips regarding mutex and terminalservers?Hi,
I tested the following code and it is working for me both in a RemoteApp and Full session:
Imports System.Threading
Module Main
Sub Main()
Dim createdNew As Boolean
Dim m As New Mutex(True, "TPMutex", createdNew)
If Not createdNew Then
Return
End If
Application.Run(Form1)
GC.KeepAlive(m)
End Sub
End Module
-TP -
Which is better? Two Oracle user in one instance OR in two instances?
Which is better?
I could not find any benchmark for number of instances per user
in the same machine.
suppose that you have two major Oracle user, from performance
point of view it is better to make separate instances in same
machine or keep these two users in the same instance.Hi.
I understand that you will use oracle for two different
applications on the same host.
Each instance has its SGA and background processes. So, using
two different schemas(users) in one instance you can share
phisical memory between the applications. Concerning background
processes, you can start as many of them as you wish, so it's
not a problem. If you decided that one DBW is not enough, you
could configure oracle to use two or more.
best regards,
Andrew -
Can't select more than one instance
Hi All,
wonder if anyone can help,
I'm trying to get Qmaster to use more than one core(instance). but the options for selected service is greyed out for compressor, and its stuck on 1 instance, "Rendering" service is allowing me to change instances, but not compressor. Ive done a search, and as a result have reset background processing. I dont have mobile me so Back to my mac doesn't apply either.
I have a mac pro 2.93 eight core running OS 10.6.2 on 16gig of ram - compressor is v3.5.1
many thanks in advance
AndyThe 50% rule is for the first round of MacPros which could run one instance per core. The current models can run two instances per core. Check Barefeets.com for current processor testing and qmaster configuration recommendations
One of the time limiting issues with running more and more instances is that your output file is cut into more and more segments. If all the cores are fully loaded you will not find faster encodes with more cores specified in the Qmaster but you may have slower overall project completion times. This is due to the overhead in recombining all the smaller clips back into the final file. Fewer but larger clips seem to recombine faster than more but smaller.
again, ymmv.
x -
One machine = One Instance
Hi there,
How can i prevent that more than one instance of my application from being created in the same machine. How can i rename the process associated to the application (instead of the usual javaw.exe)?
Thanks for any help you can give me,
Carlos FerreiraWhen I was writing for Windows, we did this via global
Mutex objects. Your app (on startup) would attempt to
create and get ownership of a global named Mutex
(usually the App name). If you got ownership, you were
the only one running.
The problem here with Java is that you MIGHT be
running multiple JVMs. Without access to a machine
level Mutex, it is difficult to ensure One instance
per machine (that behaves well following a crashor
error).Um - you do realize that the suggested socket approach guarantees exactly this? I come up, and either I get the socket or I don't. If I fail - someone else is already running, exit. When I leave, or if I crash, the socket is automatically freed up for me.
(And, having had to debug poorly-written Windows Mutex code, I know that mutexes can be left in odd states if the holder falls over while holding them. It's easy to code to notice and deal with this - but if you fail to do so, then your app fails to run again, unless/until you reboot the machine.)
However, one could make use of JMS to simulate this.
Lots of overhead to set up the client and server ends
of this simply to ensure 1 application per machine,
but it should work. We do have to assume that the
application plays by the rules and attempts to
validate its one-ness prior to startup.Ow. JMS is a hugely-overcomplicated tool to use for this straightforward application.
And, regarding everyone "playing fair" - well, yeah, that's a given. But since what we're talking about here is two instances of the same program, then it pretty much by definition either plays the game, or it doesn't.
Grant
Maybe you are looking for
-
How can I get only the last 2 rows?
How can I narrow down a query to get only the last two rows in a table ? Thanks, Mohan
-
I no longer have any contractual obligations, and i have iphone 3GS and iphone 4, I want to change carrier, but my phones are locked. Help I live in Lithuania. BR
-
Where can I download Adobe Creative Suite 5 Master Collection?
My computer was stolen which forced me to have to purchase another one. I am now trying to re-download all of the expensive programs I have purchased through out time & realized the new mac is designed with no optical drive. Nice. The old versions of
-
I purchased the 200GB plan to get all my photos into iCloud, and started the upload around 36 hours ago. So far, only a few hundred images have uploaded. the counter in Photos Preferences has been stuck on the same number most of the day. I even rest
-
Set Background image of the Jwindow
Can any one of u explain how to set the background image of the Jwindow..