Can I send an email with a link to automatically log the user on to a Windows server? - remote-access

We would like to be able to send emails to clients that have a link they can click that will automatically log them onto a Windows server.
We would have guest IDs set up and use those as the login ID. We don't want them to have to enter userID and password, just click on the link in the email and have the userID/pw automatically filled in.
I realize this is a separate question, so this can be ignored if it's not following the rules of this site, but we want to be able to have excel automatically started with a specific spreadsheet name once they are logged on.
I've been researching this online and haven't been able to find any way to do this.

Related

Get GitLab Issue Service Desk Email via API

I'm creating a separate app for users to visualize GitLab issues without needing access to GitLab. We are using python-gitlab to retrieve the issue data for display on this separate site. Users will create new issues by clicking a button that opens up an email configured with the project's Service Desk email.
This all works great so far. BUT, we need to get the issue-specific email address in order to provide an option for users to add a comment via this separate app. According to the documentation, the issue email address is readily available on the issue itself -- https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#copy-issue-email-address.
Is there a way to retrieve this issue-specific email via the GitLab API?
This information is available in the GET request of a project. The information on how to do this is on the API Documentation.
If the service_desk_enabled key is true, there will be an email address in the service_desk_address key. This will reflect the value in the settings of the project.
If you haven't changed any defaults, this looks like the email address is made up of:
"contact-project+"
project group name + "-"
project name + "-"
Project ID + "-"
"issue-#incoming.gitlab.com"
That way, if it's not available in the request but the setting is enabled, you should be able to build it

Access Active Directory username on web page

On our intranet, I want to provide a website that certain employees can access. The work they do on the site will be recorded and tagged with their user-name for identification if the need should arise. Of course users have already logged in to their workstation and they have supplied credentials to our Active Directory.
Rather than maintain an additional set of user logins and passwords for the website, and forcing users to enter this second set of credentials, I am wondering if they can just be silently authenticated when they pull up the site? Somehow the webpage would have to find out their Active Directory user name as known on their workstation. (I see no reason it would need their password.) And then, for their work, the website can store their actions tagged with their user name.
So: I'd log in to my workstation as "Mark" in domain "ONU-AD". I'd pull up the webpage "resolveticket.php". That page would not challenge me for credentials, but it can access my username and store that with my various actions.
NOTE: I have seen some questions and answers here that were more specific. But my initial question is general: is there a piece of tech that can help with this? What is it? (for example, should I try to do this with Java?) Many similar questions are about ways to get this information in a server-side script. But I am simply wanting the webpage sitting on the client computer to be able to get the user name and perhaps place it in an input (type="hidden") on a web form.

How to collect e-mail addresses from a click of a button?

My team and I are currently exploring different methods of collecting email addresses from our website visitors.
We want to do something cooler than a contact forms, and we really like the way quicksprout.com handles this and would like to do the same.
Where would I start to implement collecting email addresses through a couple clicks of a mouse via connecting our visitors through google plus api from our homepage? Is this possible to implement through a regular http static html site?
NO A server is needed in order to collect email addresses. At least in order to add them to a database. This can not be done using just a static html site.
Now, since a server will be needed, you can just access the emails like link (This also avoids a hassle with Same Origin Policy)
For example: Let the user login via google oauth, save the user related email in your database. fine
(if the user has saved its login data in its browser or is already logged into its google account in the used browser, this would be a mouse click only solution.)

blocking other users from registering by using their email

On my site, a user enters his email when creating an account. After submitting the form, a new user row is created in db with the respective email. This row has inactive flag set to True. Next, an activation email is sent to the entered email address so that the user can activate his account and login afterwards using the email and password. There is unique constraint on email in db for login to work correctly.
The problem is that someone can use an email of another person, blocking that other person from ever registering on my site. There already is an (inactive) account with the email that the legit user tries to enter so new user row can't be created. I am not sure how to tackle this problem exactly. It probably has a good solution because the registration scheme I use is pretty standard.
From my view point, I have a solution like that:
When user register with the email. I will generate an unique key (may be user-id) that will attach into the link activate in the email content. When user click to activate account we will get that unique key to update to confirm from user. That solution will help you disable an user following user id instead of disable following the email which can be duplicate.
Hope this help.
U cannot find the person's mail id who misused other's mail id so its not possible to an extent.
You could delete the database entry with the email after some time, if the activation link has not been clicked. Depending on your operating system, you could use cron or systemd timers (Linux) or scheduled tasks (Windows) for that.
For example to execute a MySQL query from cron this question might be helpful.

How to add E-Mail address for system account in SharePoint

I am working with workflows and trying to send e-mails.
On the workflow page I got an error message:
The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
User is system account. So I think that I need to set e-mail address of system account.
Does any one know how to set e-mail address for system account ?
Does any one have a better idea to solve this problem?
There are two possibilities to add an email in system account.
If you are usin gactive directory user to login in sharepoint as system account then you have to mention his/her email address in the Active directory.
If you are using local user as a system account then follow this steps.
Click on drop down of System Account -> Click on My Settings -> Click on Edit Item and Update it with valid email address.
Let me know the result.
Thanks
try this
In your server move to the following location
Start --> Administrative Tools --> Active Directory Users and Computers
There you can find the list of users. You can also find the administrator there.
Now right click the administrator and choose properties and ad your email

Resources