What is the best way to password protect folder/page using php without a db or username

What is the best way to password protect folder using php without a database or user name but using. Basically I have a page that will list contacts for organization and need to password protect...

Getting a users Facebook profile url

I am creating a registry site so similar people can find each other easily. I don't want to use Facebook Connect as the primary log in method or use Facebook to store their information. I'll be...

Reference — What does this symbol mean in PHP?

What is this? This is a collection of questions that come up every now and then about syntax in PHP. This is also a Community Wiki, so everyone is invited to participate in maintaining this...

How to detect if an email is a Google Account?

Me and some guys here are working on an start up. We are currently using Google OpenID API to manage registration and login to our app, but we want to migrate to a easier user registration model....

Facebook adding tester users and admin is: (pending), what does that mean?

The new Facebook developer integration should be really handy and easy, but i'm struggling with creating a test user or a regular Facebook user to get permissions to sign in my app. I opened a...

PHP Laravel - Allow users to use a custom domain name

I've looked through pretty much every single page I could find on the topic, but I'm still bit confused. I have a PHP Laravel 4.0 web site, which is at http://www.mywebsite.com When a user signs...

django-allauth, how can I only allow signup/login through social?

I only want to allow people to sign up or log in with their social account. I have the social sign up and log in working, but I cant figure out how to disable the local sign up. I've read the docs...

Using a PHP variable as a form fields default value

I have a created an HTML form where users sign up and input there data into an SQL database. I have then retrieved that data in a webpage where they can view their profile. I have created a page...

How to encrypt bytes using the TPM (Trusted Platform Module)

How can I encrypt bytes using a machine's TPM module? CryptProtectData Windows provides a (relatively) simple API to encrypt a blob using the CryptProtectData API, which we can wrap an easy to use...

Bootstrap container-fluid not working for grids

The code is linked below with JSFiddle. The problem was when I decrease the screen size the div blocks should be in the same line with decreased width instead they are going one below the other....

How to secure the JavaScript API Access Token?

There are numerous online resources which provide JavaScript APIs to access their services. To be more clear, I will base my question on the example of MapBox, but this applies well to many other...

Extremely high latency on Azure Web App

We currently self-host our website, but we've had a few downtime incidents outside of our control and we're looking at moving it into Azure. It's an ASP.NET website using Umbraco as the...

Formatting a table in R with special symbols in columns

So I have run some analysis in R which I store in a data.frame() and at the end of the program I want to print a table for the user that is easy to read. I could just return the data frame to the...

Do cookies protect tokens against XSS attacks?

I'm building a JWT-based (JSON Web Token) authentication mechanism for an browser-based Javascript web app, working with a stateless server (no user-sessions!) and I want to know, once and for...

AWS Cloudfront Signed Cookie Local Setup

I've been attempting to get cloudfront signed cookies setup for a site to make getting HLS manifest segment files easier to authenticate. Setting up the cloudfront origin and code in a live...

No such module ... in Xcode

I've run into a problem with Xcode (using Swift) that has me completely stumped. I realize that this question has been asked and answered, but none of the answers have worked for me, and my...

npm publish Failed PUT 402

Working on a course that is having me go through a Bash tutorial. I am stuck on the part where the code is asking me to publish my code so far. My instructions are as follows: What good is a...

How to use Google Play pre-launch report with expo / react-native

Google has a built in app crawler for the app store called the pre-launch report. It will crawl your app on a bunch of different devices and give you some basic feedback assuming you: provide...

Symfony 4 guard not authenticate user

I'm using guard as my authentication layer for my symfony 4 flex app. whenever I enter in my username and password it automatically redirects me to the login page, no errors just redirects me. In...

Kubernetes Ingress to External Service?

Say I have a service that isn't hosted on Kubernetes. I also have an ingress controller and cert-manager set up on my kubernetes cluster. Because it's so much simpler and easy to use kubernetes...

Unique username in Firebase with Flutter

I'm trying to create a unique username for each user on my app. At sign up, I'm storing that username value in a separate collection ('Usernames') so it's easier to go through them when I check if...

Populate a DataTable with MySQL Database

I’m trying to build a CRUD application. I have a MySQL database of a large amount of records and would like to use a JQuery DataTable rather than trying to code out a table from scratch. The...

Msal 2.0 - how to generate Sign Up link with Azure B2C?

In my angular app I use Azure AD B2C for authentication and MSAL.js 2.0 library to handle it. I have a "Log In" button on the home page, that is easy. But I also need a "Sign Up" button, so user...

GDPR, Cookies consent banner Flutter web

I'm building my website with Flutter but programming for web is very new to me and I'm not quite sure I understand exactly how Cookies work. I still need to understand what cookies are to be...

HERE Fleet Telematics API unsolved problems

For reference, some related (not duplicate !)...

Ionic Capacitor Firebase Phone Number Authentication Problems

For anyone who is trying to authenticate via firebase phone number using ionic, this post is for you. I spent weeks trying to solve this problem for my own app, and have moved on to using email...

Android 11 captive portal detection (offline scenario)

My Question: Is there a way to achieve one of the following, with an Android 11 device which is connecting to a captive portal without internet, to let a user access a specified website inside the...

Ansible tasks for adding the Google Cloud SDK apt repository signing key

I'm trying to download and install the Google Cloud SDK apt repository's signing key as a set of Ansible tasks. (i.e., Converting the manual process outlined here into Ansible). This is what I've...

Nodejs clients and Letsencrypt CA expiry on 30/9/2021 - will nodeJS clients break tomorrow?

We have many NodeJS clients which are connecting to one or more servers which use LetsEncrypt certificates. Tomorrow (thursday 30/9/2021) the CA cert expires (as displayed by Chrome - DST Root CA...

Is there a way to pass something more advanced like a method or a comparison to a function?

So I was trying to remake some Array.prototype functions from Javascript in Applescript. While trying to do that I noticed, that many Javascript functions use something that I think is called an...