Questions tagged [windows-security]

Use with Windows Security, previously called Windows Defender Security Center.

References:
Help protect my device with Windows Security

Related tag:
windows-defender
controlled-folder-access

176 questions
5
votes
3 answers

ASP.NET impersonation problem (part 2)

This is a follow on to a previous post about being unable to impersonate a currently logged in Windows user. There were many good suggestions, but the previous thread was getting messy, so I am resetting with this post. Hopefully with the current…
5
votes
5 answers

SQL Server Error 5123 When Attaching Database

I have two databases. Both are in the same folder. Both have, as far as I can tell, the exact same ownership and permissions. I can attach one but not the other - I get an error 5123. For both files... Owner is MSSQLSERVER Permission…
Kevin Jones
  • 69
  • 1
  • 1
  • 6
5
votes
1 answer

Remove windows security authentication screen when using 'edit in Microsoft Office' feature in Alfresco

I am using Alfresco-5.1, MS-Office 2013 and Windows-7. I have done the Alfresco setup in my system and uploaded few documents. To edit the documents, I want to use the 'Edit in Microsoft Office' feature, but when I click on it, I am getting the…
5
votes
1 answer

Create a Low/Medium process from a elevated process with CreateRestrictedToken(LUA_TOKEN)

I'm trying to create a Medium or Low integrity process from a elevated process. I know there are other questions like this but they mostly focus on the workarounds like using Explorer or the Task Scheduler and I want to stick with…
Anders
  • 97,548
  • 12
  • 110
  • 164
5
votes
4 answers

How can I get the current user's SID in VB6?

I have some old code that we have to maintain in VB6. We need to add the ability for it to look up the current user's SID. Can anyone point me to some code that shows how to do that? Thanks in advance for your help!
GuyBehindtheGuy
  • 1,368
  • 2
  • 17
  • 36
4
votes
2 answers

Windows security popup appears behind the main application window

I am using Windows 10 APIs "Passport" & "Window Hello" in my WPF application. bool keyCredentialAvailable = await KeyCredentialManager.IsSupportedAsync(); if (keyCredentialAvailable) { KeyCredentialRetrievalResult keyCreationResult = await…
Heena
  • 2,348
  • 3
  • 32
  • 58
4
votes
1 answer

Edge AJAX calls fail to a domain with SSL pointing to localhost

We have a product which relies on a thin client installed on users machine. We make an ajax get request to a domain pointing to local host which has a real ssl. This fails in edge, works in every other browser including IE11. Note that same works if…
Pit Digger
  • 9,618
  • 23
  • 78
  • 122
4
votes
0 answers

Setting Security permissions on Microsoft Message Queuing (MSMQ)

I am trying to add permissions to a group for Microsoft Message Queuing (MSMQ). On Windows Server in the Server Manager under Features I right-click directly on MessageQueuing which is the top level > Properties > Security. I want to make sure my…
4
votes
5 answers

Cannot connect to SQL Server from PowerShell with domain credentials

I have a problem where I cannot connect to a SQL Server using domain credentials. Using the SA credentials it works and the query runs as expected. But when I use domain credentials, I get an error. Here is the script: $SQLServer =…
Mike J
  • 1,200
  • 6
  • 20
  • 31
3
votes
0 answers

What is the difference between a Low Integrity and a Restricted Process in Windows?

I can launch a low integrity process with SysInternals' PsExec: psexec -l cmd And a restricted process with runas /t:0x10000 cmd What is the difference between Low Integrity Level and Restricted? Why use one or the other? Aren't they…
Gerardo Grignoli
  • 14,058
  • 7
  • 57
  • 68
3
votes
1 answer

ObjectSecurity.GetOwner returns group rather than user

I am trying to determine the user who created a particular file like so: string path = "C:\\TheFile.dat"; string user = System.IO.File.GetAccessControl(path).GetOwner(typeof(System.Security.Principal.NTAccount)).ToString(); When the file was…
RikSaunderson
  • 3,505
  • 6
  • 32
  • 50
3
votes
2 answers

SendInput fails on UAC prompt

We are writing a run-only remote desktop application, that uses SendInput for keyboard (& mouse) interaction. However it cannot interact with UAC prompts. What permissions/rights does our application require for this? Background info: The…
Norbert
  • 41
  • 3
3
votes
1 answer

SSIS add Custom Header to Excel file

We are dumping data into an excel file using SSIS. Need to add a Custom Header to the Excel file. The code below worked for many years. (on Different Windows (Win7,Win10) and different office versions (Office2007 and Office2013). string…
3
votes
1 answer

How to check if ASLR is enabled for a process?

Say, if I have a process ID PID, is there a WinAPI to find out if ASLR is enabled/disabled for that specific process?
c00000fd
  • 20,994
  • 29
  • 177
  • 400
3
votes
1 answer

Windows process with Untrusted Integrity level

I couldn't find much information about Untrusted integrity level in Windows, and have some questions about it: Is there a place where an untrusted integrity level process can create named objects? (mutexes, events, etc..) Should untrusted integrity…
macro_controller
  • 1,469
  • 1
  • 14
  • 32
1
2
3
11 12