I'm trying to generate a .rdp filein my web application to send my webclients with the correct mime type. Then, they open the file with a rdp client app and make a automatic connection to a machine.
After reading this article
http://www.remkoweijnen.nl/blog/2007/10/18/how-rdp-passwords-are-encrypted/
It seems that it not possible to create a rdp file in a machine and use it in other machine without decrypt and encrypt again the password in the client.
I'm looking a directive in the rdp file to write the password in clear to avoid this problem, like:
password:s:Passw0rd
Regards
Raul
Related
I am currently developing an Access-Database for my company. In order to prevent Users from unauthorized changing of the VBA-code I have encrypted my Back- and Frontend .accdb file. I continued by compiling my frontend to an .accde file, which is not currently not password-protected.
Is it possible to read the used password for Front- and Backend using the .accde file only?
The .accde isn't connected to the .accdb it was created from, so if the .accde isn't encrypted, I don't see how it would contain the .accdb password.
But the backend password is most probably readable, by opening the .accde from another database and browsing the tabledefs and their properties (connection string).
To prevent this, you must encrypt the .accde too, and launch it from a seperate application, so you don't have to provide the password to the users.
Here is an approach: https://stackoverflow.com/a/46196870/3820271
Set pssword for .mdf file in sqlserver.
When you attach a file to someone, I want to ask him the password. In both cases, windows authorization and sqlserver authorization.
You can encrypt a database using tde which will prevent anyone from attaching an mdf file to another instance. It uses certificates and as usual simple talk has a great article as to how to use it and how it works. If someone has the correct certificate they can attach it.
I have published a windows form application with a certain sql connection string . for security reasons i should change the password of my sql server user wich is used in connection string.
I tried to change password in published path in config.exe file but program did not consider the changes in connection string.
Is there any way to change connection string without publishing the program again?
yes
Open Publish Folder>then open Application File>then open next folder thats name of your projects > then open file your projectname.exe.config in Notepad then you change your connectiostring
Here config.exe is a compile file you publish it again to make work
So I'm trying to transfer files to a remote computer on an SSH system. 'I've used the sftp command, used lls to confirm the presence of the file in the local computer, and then implemented the put filename command. However, I receive the same result each time:
stat filename: No such file or directory
I just don't know what's going wrong! Any help or troubleshooting tips would be appreciated.
If you're currently using Windows you can download winscp and use that to transfer files. It has a nice graphic interface that is easy to interact with
Well, supposing that you are on a Linux/Unix environment, you could use scp. Typically, the syntax for an scp command would be like this:
$ scp foobar.txt your_username#remotehost.net:/some/remote/directory
The above command copies the file foobar.txt which resides in the local computer, to a specific directory in the remote machine, using a username (you will be asked for a password later).
The sftp command line client uses the ssh transport and will tunnel your connections using your key. So if you have ssh access, you should also have sftp access. This is a secure option for people who are more comfortable with ftp. Most GUI ftp clients should also support sftp.
I was facing also in this issue when trying to upload files from the local to the remote server. I did commands well and clean but the mistake I was making was that: I've logged into the remote server with ssh and then login with sftp. In that way, sftp will consider that your remote server is the local (as I logged in first to this via ssh) when using the command below:
put /c/path/to/file.txt
So, the thing to do is to login directly to the server via sftp and putting your local files in there.
I want to create a Lotus Notes agent that will run on the server to generate a text file. Once the file is created, I need to send it to a remote server.
What is the best/easiest way to send the file to a remote server?
Thanks
If your "remote" server is on a local windows network, you can simply copy the file from the server file system to a UNC path (\myserver\folder\file.txt) using the FileCopy statement. If not, you may want to look at using a Java agent, which would make more file transfer protocols easily accessible.
In either case, be sure to understand the security restrictions on Notes agents - for your agent to run on the server and create a file on the server's file system, the agent will need to be flagged with a runtime security level of 2 or 3, and signed by an appropriately authorized ID.
Sending or copying files using O/S like commands to a remote server require that destination servers be also mapped as drives on your source server. As Ed rightly said, security needs to allow you to save files down onto the server and then try and copy them.
You can generate the file locally on the server and then use FTP commands in a script to send the file. Or if you're a java guru, you can try using Java.FTP to send the file as well. I had some trouble with it, but it should be possible providing an FTP account is setup on the destination server. FTP related stuff by a well known notes guy can be found here and here
I have done it using a script, and it's clumsy but effective in simply pushing files around. Ideally, if the server at the other end is a Domino server as well, you could actually attach the file in an email and send it to a mailin account on the destination server. I have done that before, and it's great as you can just pass the whole problem of getting files off to the SMTP process.