Questions tagged [localhost]
The localhost tag has no summary.
2 questions
1
vote
2
answers
136
views
Using HTTPS for local interprocess communication, and certificates
We have a Windows application that needs to communicate with a Word add-in that we provide, on the same system. The Word add-in package we are using only allows us to communicate with our app using ...
1
vote
1
answer
828
views
How to securely allow localhost to access through CORS, without exposing it to anyone's localhost?
It is recommended to do this often in web apps:
import { NextResponse } from 'next/server'
import type { NextRequest } from 'next/server'
// Define allowed origins
const allowedOrigins = [
'http://...