Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access data only through the VFP application!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01124739
Message ID:
01125052
Vues:
23
Hi Fred,

Does "LogonUser" do the same as Runas? Is that only the app that access the server after this or the workstation?

It is from this thread:
http://fox.wikis.com/wc.dll?Wiki~RunAsAnotherUser

If yes, that would solve my problem for sure.

Thank you,
Ali

>>Thank you Fred,
>>
>>That should be exactly what I want.
>>
>>I have one question. Can we run the application on the server using this technique? My ideal is that every one runs the same program on the server from their workstation, and gets the same results. That would be a great news if the answer is “Yes”.
>>
>>Cheers,
>>Ali
>
>For our user applications, they are all downloaded to the workstations by a launcher program to keep them up-to-date. The only apps that run from a server are only run on that server and are the interfaceless applications.
>
>It's too hard to update an application on the server if there are any workstations that use it directly.
>
>>
>>
>>>>Hi Taylor,
>>>>
>>>>That sounds like a very good idea. However, they still have to enter the password. If they know user_id and password, then, they can login and do whatever. Am I right? or I am missing a part?
>>>>
>>>>I would like to do every thing in codes, so they won't know what exactly is going on.
>>>>
>>>>Thnaks so much,
>>>>Ali
>>>>
>>>
>>>You should be able to create a shortcut that has everything in it. We don't use that methodology ourselves, only for our interfaceless applications that run by the task scheduler. I know when you set up a task that way, it handles the user used and the password when you create the task, there's no prompting.
>>>
>>>
>>>>>>Hi Everybody,
>>>>>>
>>>>>>I am asked to hide the data from the users on the workstations. However, these users should have read/write access to this data only in my application which is in vfp 9. They are mostly worried that the users might go by accident to the shared folder and delete the files from the main database. The idea is they can see and edit data through the application program only.
>>>>>>
>>>>>>Does anybody have any idea that how this would be possible?
>>>>>>
>>>>>>Thank you,
>>>>>>Ali
>>>>>
>>>>>You could use OS rights on the folder that contain the data files to be for a specific user (say APPUSER). Then, when you start your application, you use RUN AS and start the application under the APPUSER user. See the help for "runas".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform