Remote desktop connection conundrum - ms-access

i may be going about this the wrong way and would appreciate guidance on how it should be done. :)
I have a windows 7 computer on which i have installed thinVNC (Remote desktop application)
i liked it because its cross platform and does not need the clients to install anything on their devices to connect to the computer.They simply use a HTML 5 enabled browser to connect.
The purpose of this is so that they can get to a Microsoft access database on the computer, log in to it and perform some transactions.
Now, when one person logs in they see the desktop and interact with it and thats fine. However, when another person connects to the computer, they basically watch as the first user goes about using the database. Which i think is the purpose of this kind of software!
So i guess what i want is that each user gets their own fresh "session" if you like, like having the file on a network drive. So users connect to the computer,don't see others using the system and there's a folder where i have granted access to external users and placed the database in it. They will then doubleclick the file icon and be able to login etc.
So what is the best way to achieve this? ideally i don't want the user to have to install any software to be able to connect, but if its unavoidable then so be it.
thanks

Why not use Microsoft's built in remote desktop? There's a version for most (if not all) devices now and it would let you just setup multiple accounts on the Win 7 pc and get each user to log into them individually.

Related

Working on same database from 2 diffent pc's

I had a Question about working on the same MySQL database. If I am in college I am always working on my laptop. But if I get home than I rather use my PC for coding.
But I don't wanna import and export my database always. I just wanna connect to a server or something so I can work from both.
Is there any way to do that with a VPS or something? I don't mind to make one with Linux or windows but what is the easiest way to work from 2 different devices and what do I need to do to make that happen.
Install MySQL on your laptop.
Copy/move the database onto it. Use the laptop as your server when you get home.
If you don't want your laptop on all the time, use a cheap web host to share it over the t'interwebs.
If you like, look at AWS free tier. Finally, Zapier do a MySQL & OneDrive collaboration that could do what you want.

Duplicating existing cakephp app for development

I need to make a development version of a cakePHP app with its own db so that a developer can work on it without disturbing the current users.
I thought it would be simple, I just copied the entire director /project to /project_dev and then copied the DB "project_db" to "project_db_dev". Then I went into /project_dev/config/database.php and changed the db to "project_db_dev".
When I went to see what I had done, I saw the app was still connecting to the same db, as if I'd changed nothing. I realized that the original folder name was referenced in /app/webroot/.htaccess so do I need to find/replace all instances of that folder name?
What steps should I follow to duplicate an existing cakePHP app?
You need to setup some kind of development lifecycle.
Generally speaking the developer shouldn't be doing any development on the server. The best way to handle it is locally using a stack of some kind such as Lamp (Linux, Apache, Mysql, PHP) switch out linux with other OS's. There are multiple cloud solution to these environments to such as Koding.com
Using something like Git for version control the developer can develop locally then push the code through to the server after is being thoroughly tested locally or on a dev server or some kind.
Keeping Dev work and Live work away from each other is key.
Could do with a bit more information.
If both databases are hosted on the same server and you have permission to access them both with the same user then all you have to do is change the name of the database in your database.php
If not you will also have to update the IP and any other additional settings port etc.
If you are still having troubles email me simpsond1988#gmail.com

Provide Shell in a HTML page of that Web Server

I have a Linux based Web Server running Fedora. I have created and hosted couple of HTML pages on that.
I have info providing CLI tools that run on this server but must be accessible to all users from their browsers
I haven't started and these are my requirements
How do I provide that servers shell (BASH) via HTML page? What are the softwares that make it possible?
Can I provide auto-login enabled shell?
I just want to avoid multiple users having to open SSH sessions to the server. Also I can provide instructions and terminal access hand in hand using HTML pages.
ShellInABox appears to provide a colored terminal interface to browsers via Ajax. (homepage) Since it runs as a separate webserver, you may need to link your users to a different port on your site. There are surely more alternatives (other projects like this) out there.
The following advice applies regardless whether you use ShellInABox or continue to provide ssh access.
If you don't fully know and trust all your users, then assume at least one of them is a whizzkid cracker, determined to crash or break into your system. The first thing he may try to do is log in and run a forkbomb.
You should therefore do your best to sandbox users, so they cannot harm the system or each other. Restrict their access privileges (file/folder/network access) to only what is needed to achieve the tasks you allow. SELinux and AppArmor have facilities for this. You can find some more sandboxing techniques here and here. Docker is a new system that may be worth investigating.
It would be very wise to host your login server on a separate or virtual machine, distinct from your main webserver, so that any user who does manage to break out of the sandbox will not be on the same machine as your other services. (But note he will still be inside your LAN!) User-mode-linux is a less secure alternative and chroot is worse still, but better than nothing!
If users should be able to save files, then I would recommend giving each user a separate account, especially if their files should persist between sessions. Of course, as a workaround for auto-login you could provide a guest account with password guest555 for all users, but then a malicious user could bother others by deleting files or putting nasty stuff in the shell startup scripts. (I certainly don't recommend guest/guest because crackers regularly scan the net for ssh servers hosting that account!)

Database fails to open on server

I have created a folder that all users have full control over. In this folder is my backend, while the frontend resides on the local hard drive. I can open the database on my development computer, even over the network. On all other computers, the system simply loads the access welcome screen, or access opens and closes automatically.
Can there be virus protection or a firewall blocking this? I have enabled network connections, and allowed all vba projects, etc.
Can there be a reference issue? If I have a reference for an Outlook library, and have compiled the file into accde format, would this prevent any error messages and simply cause the database to fail? I can open the backend tables on all computers, it is just the frontend that will not open.
Any suggestions will be helpful. I am not at the site, so I will take all suggestions and try them when I return.
A few things come to mind:
Have a look in the Windows Event Log.
Another issue could be happening if the locations where the front-end is located has not been added to the list of Trusted Locations in MS Access.
If you put the accdb front-end on the user's machine, can it be opened? Do you get any error?
As you mentioned, there could be a reference issue. Try to remove the reference and convert your early-binding with late binding instead (use CreateObject).
Add some sort of logging to your application and log as much as possible to a text file from the startup sequence of your application. This may let you know if there is some of your startup code that fails.

Opening client side applications via a remote app

Ive done a fair amount of searching on this, but ive struggled to find the answer.
At present I have an access program that sits on a remote windows 2008 server and users can log into it through a remote app. In the local version of my program, users can hit a button and email through outlook, but obviously if your accessing it remotely it tries to open outlook remotely.
So here's the question: Is there any functionality that will allow me to open Outlook locally whilst using the remote app?
Ive read about scriptable virtual channels but i would like someone to confirm if this is possible (or call me a moron for even contemplating the idea).
Thanks in advance.
Split the database. Your client will then open Outlook locally.
Here is some info that might be helpful if you do not know how to split the database and what the benefits are: http://office.microsoft.com/en-us/access-help/split-an-access-database-HA010342026.aspx