Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
13 views

Password protecting

I want to password protect random files that based on their names have an assigned password. I want to use the loop with Dir function but I don't know how to do it. Could you pelase guide me? Sub ...
Damian W. Senecki's user avatar
0 votes
0 answers
11 views

Unique constraint on hashed password database column

This might be a stupid question and out of habit I wouldn't add a unique constraint to password hashes when stored in a database. However, I thought a bit about it and probably confused myself why ...
Skru's user avatar
  • 41
0 votes
1 answer
89 views

How do I style a Wordpress page protect form

I have been trying to change the style of this Wordpress page protect form. The Wordpress page protect function is enabled and the password is set using Wordpress, however I previously had the PPWP ...
Michael W Moriarty's user avatar
-1 votes
1 answer
45 views

Password in PostgreSQL necessary?

It seems like I can access the postgres user with any arbitrary password or even with none when opening pgAdmin4. ChatGPT tells me that this is the case if pg_hba.conf has the line: local all ...
Marlon Brando's user avatar
0 votes
0 answers
30 views

Hide Sheet event object capture by onChange() function in Google Sheets [duplicate]

onChange() trigger function in general captures any change that is made to the specified sheets. But I want it to only capture the event change when someone is trying to unhide a specifically ...
xyz45's user avatar
  • 1
0 votes
1 answer
87 views

In VBA, how to write an array that references all sheets in my workbook

I am using the code from the spreadsheet guru to mass protect/unprotect my sheets. This file is updated by me and used by other team members. I have some cells open to editing and others not when the ...
Michael Trimble's user avatar
0 votes
0 answers
81 views

Zip a folder with password protection at folder level using Java

I'm trying out an automation which needs to zip a folder and password protect it at folder level. I used zip4j and able to achieve the password protection at file level only. Here is my code which ...
Shanjana M's user avatar
0 votes
0 answers
29 views

How to store the password for a desktop application securely

I've created an on-premises application with an installation wizard that captures the user's password. I need a secure way to store the password other than DB. If I use encryption, we'll have to save ...
Hirxe's user avatar
  • 1
0 votes
0 answers
42 views

How to fix password replay or playback in nodejs

i'm hashing the the user password using bcrypt and stored it into DB. during login i encrypt password in front end and decrypt it before compare using crypto-js and compared password with bcrypt....
rajat joshi's user avatar
1 vote
0 answers
423 views

How can I remove/unprotect a password-protected .xlsb file in Excel?

I have an Excel .xlsb file that is password protected. Unfortunately, I have forgotten the password and I need to access the data in the file. I have tried a few methods, such as using VBA code to ...
abdidheere's user avatar
0 votes
1 answer
22 views

Excel VBA Unlocking cells to run a macro on a different sheet then locking again

I have a macro that runs after someone fills in a form and clicks submit. It's on the first tab of an excel spreadsheet. It is then filling in the next available line on a worksheet that is ...
Joshua Jacobs's user avatar
0 votes
0 answers
29 views

libssh2 api support in c to use both private key and password together

I have a remote host that has public/private key and password both enabled. They have to be done together in order to obtain a connection. I am using the libssh2 api and have no idea how to code that ...
onmimic's user avatar
0 votes
0 answers
123 views

Password protected or private URL one-time viewable video access

I have a requirement to upload over API a video and embed it to a WordPress page, which needs to be one-time viewable and then never accessible again. Also the video needs to have no buttons to stop/...
simonS's user avatar
  • 1
1 vote
0 answers
95 views

How to pass through a VBA Project Password and remove the VBA Project Password via vb code

I have an excel spreadsheet with an "export" button, so that users can save a copy of the some of the sheets locally. The process I have written in vba also deletes some of the modules in ...
seaside_escape's user avatar
0 votes
1 answer
443 views

How to password-protect an XLSX file in Python

I want to create an excel file with some data and password-protect the entire file, not just worksheets. I've looked around many places but I haven't found a way without paid libraries like spire.xls ...
Camilo's user avatar
  • 459
0 votes
2 answers
320 views

Policy to Allow Userpass Auth Method User to Update Own Password

I just launch a vault server and created two policies, one for users and another for admin. I created users with a default password but each time I want to modify the password as a user, it doesn't ...
Henri Nzatse's user avatar
1 vote
0 answers
98 views

python check if compressed file is password-protected with just a small part of a file

I want to check if some .rar or .zip files are password-protected or not. There are packages (zipfile, rarfile) with some specific methods (testzip, tetrar) that can check if the file is password-...
Mehrdad HMT's user avatar
0 votes
0 answers
83 views

Write URL into ntag215 with password protection

i am trying to write a URL into an ntag215 that has password protection but i am not being able to do so. This password protection has been set by me. This means i know PWD and PACK for the tag, and i ...
Iker Busteros's user avatar
0 votes
1 answer
112 views

Securely safe credentials in a web-backend

I am looking for a safe way to save credentials (like SSH credentials) in the backend of a Webserver (which would be Node.js in my case). I already thought about hashing, but then you have to enter ...
markusplayz__'s user avatar
0 votes
0 answers
34 views

ThisWorkbook.Protect in Workbook_open() not working 100% of the time

I have a ThisWorkbook.Protect function set at Workbook_open() event to make sure i don't leave it unprotected after working with it but it seems to me it doesnt work at all times. I have made a line ...
Bearly's user avatar
  • 1
0 votes
0 answers
43 views

Unprotect project in Workbook 1 with macro in Workbook 2

I am trying to unprotect a project to delete a macro. I have 131 such files where this macro needs to be removed. I am not able to unprotect the project. I get Run-time error 438: Object doesn't ...
Inet Kemp's user avatar
  • 101
0 votes
1 answer
90 views

VBA - Password prompts again when file is read only

i have an issue where the combination of password protection and read only interferes. I have a "data collector" where a lot of people fill in another form and transfer the data via a button....
Sally BRB's user avatar
0 votes
0 answers
151 views

When I tap and immediately type, the UITextField freezes, but if I tap it then wait, type works

This is the image if it's freezing when I don't wait after tapping the text field. The text field turns yellow, weird ... : https://i.sstatic.net/OLzfo.png This is an image of the text field working ...
Matthew_A's user avatar
1 vote
0 answers
13 views

NGINX password protection not working on Ubuntu 22 [duplicate]

I need to protect /servis directory with a password authentication. So, I created a password file like this: sudo nano /etc/nginx/conf.d/.htpasswd and I save a user credentials myuser:$apr1$Xw/j.........
user3523426's user avatar
-1 votes
1 answer
67 views

Have I Hashed and Salted Correctly?

I am new to this, and I want to know if I've coded this correctly. If so, how would I then go about storing the hashed password on a database? import hashlib import os password = input("Create ...
NukaWinter's user avatar
1 vote
1 answer
623 views

Github claims somehow my password has been compromised and leaked. But there are no other evidences of it

Recently github welcomed me with a picrel notification that my password is commonly used on other websites and for my own security sake I should change it ASAP. If not, they will reset it for me after ...
andrzej541's user avatar
0 votes
0 answers
33 views

pt-show-grant and root password protection

There is a way to use pt-show-grant in crontab without using root password? In general it's possible (mysql and mariadb) to specify the "default password" to use. [client] password ...
Suvier's user avatar
  • 49
0 votes
0 answers
38 views

How to protect more a password-protected Excel Binary Workbook? [duplicate]

I have a password-protected Excel Binary Workbook (locked for viewing) that was sent to one of my colleagues. I was so shocked he was able to see all the forms and codes by sending me a screenshot ...
Shiela's user avatar
  • 610
0 votes
0 answers
35 views

VBA allowing Macro on protected worksheet [duplicate]

Does anyone know if there is a way to allow VBA to run macros on a protected worksheet without writting the password in the code itself? Sub UnProtect_Modify_Protect() ThisWorkbook.Worksheets(&...
Eric Ahn's user avatar
  • 195
0 votes
0 answers
84 views

How to Improve a Password Validation Function in PHP: Ensuring Strong Security and Proper Function Typing

I'm currently developing an admin login page in PHP, which interacts with a MySQL database. To enhance security, I'm focusing on implementing a robust password validation function. However, I've ...
GawiSh's user avatar
  • 71
0 votes
1 answer
341 views

Unable to read an xls (a password protected file) after decrypting it

decrypted_workbook = io.BytesIO() with open(file_path, 'rb') as file: office_file = msoffcrypto.OfficeFile(file) office_file.load_key(password=password) office_file.decrypt(...
Elian Jose's user avatar
-1 votes
2 answers
122 views

Avoid exposing DB credentials when decompiling .exe

I was just testing a DB connection on a C# project I'm working on. I was wondering if there is any protection to my credentials being exposed to a possible decompiling. public int connect_DB() { ...
RuthIsRoot's user avatar
0 votes
1 answer
98 views

Problem Password Protecting a Specific Page/File with .htpasswd and .htaccess

I have a .htpasswd file I created in my home directory, and an existing .htaccess file for all of my site pages. I am trying to password protect only one of these pages. I tried grouping a new ....
Mer's user avatar
  • 11
0 votes
0 answers
52 views

Protect access to VBA macros

I have an .xlsm file with private features (sheets and VBA code) that I want to share with external people. Using a VBA function, I want to restrict their access to only specific sheets (which I have ...
MarinPitavy's user avatar
0 votes
1 answer
42 views

I am having trouble running a macro on a protected sheet

I am trying to run a simple macro by button click, but when I click the button while the sheet is protected, nothing happens. When I unprotect the sheet and click the button, the macro runs without ...
confused_Zebra's user avatar
0 votes
2 answers
470 views

How to set simple passwords on Azure AD

I support primary schools thats Children aged 4 to 10 and recently we have started migrating to Azure AD But we need to set simple passwords for the Student Accounts that the children will remember. ...
nigel reid's user avatar
0 votes
0 answers
372 views

How to store an authentication token client-side?

Goal As a client application i want to store my session-token i received from the Server after a successful authentication so next time i dont have to be bothered again with authentication. Should i ...
Sven Rademakers's user avatar
1 vote
1 answer
148 views

Enter password on a Touch Keyboard without other people seeing it

I have a kind of security problem. In Delphi I am using Vcl.Touch.Keyboard.TTouchKeyboard because there is no real keyboard on a machine. There are 4 monitors around this machine which are all ...
Michael Hutter's user avatar
-1 votes
1 answer
161 views

What is the best way for password transmission [closed]

I already have a properly working Java Script code that salts, hashes and stores provided plain text passwords. I also have the equivalent in TypeScript. I provide a service using a NodeJs-Server via ...
doubleplusgood1984's user avatar
0 votes
0 answers
45 views

password_verify() function always returns false despite verifying repeatedly that common mistakes are mitigated [duplicate]

I am trying to use password_verify in a project and despite using this function before without any issues, it is no longer working for me. I feel like I am overlooking something really small. ...
Brandon Lisonbee's user avatar
0 votes
0 answers
87 views

In R, how can I read a csv file directly from a password protected zip archive

I have a password protected zip archive that includes a csv file. I need to read the contents of the csv file directly into R. I'm not allowed to save the csv file outside of R at any time. Is it ...
user2363777's user avatar
  • 1,031
1 vote
1 answer
182 views

I want to add unique password for password protected specific page in wordpress

I'm using the password protected page, using WordPress, visiblity option, password protected. That is a common password. But I have a request form for people to request to view the protected page. For ...
Devil mind's user avatar
0 votes
2 answers
139 views

How to open Excel file with 'password to modify', using PowerShell

I am trying to open an Excel file with 'password to modify' using PowerShell. I have tried the standard cord to open a password-protected file (see below), but it does not work for 'password to modify'...
Yuka Morino's user avatar
0 votes
1 answer
352 views

How can I add key protection in web.config for .NET 4.5 framework

I want to add protection key in web.config file (for .NET framework 4.5) as we add api key in web api. How can I go about this? Should I use following key type: <machineKey validationKey="...&...
shreyas35's user avatar
  • 175
0 votes
1 answer
597 views

Is there a way to password protect the ability to unhide a tab on a google sheet using an appscript?

Note: I'm fairly new to appscript. The search was the first thing I've ever written. So please feel free to assume my knowledge base of appscript is small. Short version: Is there a way that I can ...
LolaAg's user avatar
  • 1
0 votes
1 answer
551 views

Creating a user/password login for Distill and/or Quarto website in R

I am currently creating a distill website through R (hopefully to transition to Quarto, but still using distill). Currently, the R code is connected with GitHub to publish the website, and this will ...
braunrs's user avatar
0 votes
1 answer
307 views

IF I can protect wwwroot folder or my project folder with a password, will IIS be able to read the folder?

I want to protect my wwwroot folder or my project folder (which serves the code for my web application) with a password. How can I do that? If I do that will IIS be able to read the contents of the ...
Divya Naidu's user avatar
0 votes
1 answer
635 views

Password protect Excel file in C# (protect from opening)

Is it possible to use C# to protect Excel file with a password so that it's not possible to view the file without the password? I've seen this post: Password Protecting an Excel file in C# But it's ...
pileup's user avatar
  • 3,160
4 votes
1 answer
800 views

Password Protect a "better-sqlite3" DB file

I have an electron-angular-node project which has few tables. I am using : electron version: 13.1.7 Angular CLI: 12.0.2 Node: 16.17.0 Package Manager: npm 9.2.0 OS version: Windows 10 better-sqlite3: ...
Piyush Roy's user avatar
0 votes
1 answer
538 views

I need to encrypt existing pdf file with password protect without qpdf in nodejs

I need to encrypt existing pdf file with password protected when the pdf file is tried to open it should ask for password please anyone provide solution without using qpdf in nodejs I need the ...
Nodejs's user avatar
  • 11

1
2 3 4 5
36