sharepoint server – WCF services doesn’t require auth

I have created a WCF service endpoint for SharePoint, deployed in ISAPI, anonymous access is enabled on the web application at site collection level and the “Require Use Remote interfaces permissions” is enabled on the site collection, the service can still be consumed without authentication/authorization.

Why this behavior and how can I force authentication/authorization on the wcf endpoint ?

air travel – Does any international airport require passengers to take a COVID test when transiting?

I am not looking for a list of airports, but simply a yes/no answer, preferably with an example, so that I know whether to add this in my list of requirements to check before taking a flight that has a layover.

I am aware that:

  • some transit airports (e.g., in Russia) require passengers to do a COVID test prior to departure (i.e., before entering the transit airport), but I wonder if any require passengers to do a COVID test during transit.
  • in many (all?) cases, the COVID-19 requirements don’t come from the airport but from the country authorities. Let’s regard requirements from the country authorities as part of the airport requirements.

Response to comments:

The question below assumes that this is the case – Bernhard Döbler 2 mins ago

@BernhardDöbler no, could be optional, or only in some conditions (e.g. if the passenger shows some symptom of COVID-19). Also, I checked on IATA and didn’t see such a requirement.

air travel – Does any international airport require passengers to take a COVID when transiting?

I am not looking for a list of airports, but simply a yes/no answer, preferably with an example, so that I know whether I add this in my list of requirements to check before taking a flight that has a layover.

I am aware that:

  • some transit airports (e.g., in Russia) require passengers to do a COVID test prior to departure (i.e., before entering the transit airport), but I wonder if any require passengers to do a COVID test during transit.
  • in many (all?) cases, the COVID-19 requirements don’t come from the airport but from the country authorities. Let’s regard requirements from the country authorities as part of the airport requirements.

Response to comments:

The question below assumes that this is the case – Bernhard Döbler 2 mins ago

@BernhardDöbler no, could be optional, or only in some conditions (e.g. if the passenger shows some symptom of COVID-19). Also, I checked on IATA and didn’t see such a requirement.

Why do some countries require a proof of accommodation in their visa application?

I am applying for a visa to enter a country. The visa application requires a proof of fully-paid accommodation post-quarantine.

I understand the usefulness of a proof of accommodation if:

  1. It was challenging to find accommodation. However, the country in question has a plethora of near-empty hotels desperate to find customers
  2. The visa applicant was impecunious. However, the visa application also requires a proof of funds via bank statements.
  3. The country wants to make sure that the visa applicant has somewhere to stay for the first few nights. However, the country imposes a mandatory 14-day quarantine due to the COVID-19 pandemic in designated quarantine facilities.

In that context, why do some countries require a proof of accommodation in their visa application?

javascript – require(…) is not a function while using MongoDbStore

List item

enter code here
require(‘dotenv’).config()
const express = require(‘express’)
const app = express()
const ejs = require(‘ejs’)
const path = require(‘path’)
const expressLayout = require(‘express-ejs-layouts’)
const PORT = process.env.PORT || 2000
const mongoose = require(‘mongoose’)
const session = require(‘express-session’)
const flash = require(‘express-flash’)
const MongoDbStore = require(‘connect-mongo’)(session)

// Database connection
const url = ‘mongodb://localhost/pizza’;
mongoose.connect(url, { useNewUrlParser: true, useCreateIndex:true, useUnifiedTopology: true, useFindAndModify : true });
const connection = mongoose.connection;

connection.once(‘open’, () => {
console.log(‘Database connected…’);
}).catch(err => {

 console.log('Connection failed...')

})

//Session confg
app.use(session({
secret: process.env.COOKIE_SECRET,
resave: false,
saveUninitialized:false,
cookie: {maxAge: 10006024}

}))

app.use(flash())

// Assets
app.use(express.static(‘public’))

// set Template engine
app.use(expressLayout)
app.set(‘views’, path.join(__dirname, ‘/resources/views’))
app.set(‘view engine’, ‘ejs’)

require(‘./routes/web’)(app)

app.listen(PORT , () => {
console.log(Listening on port ${PORT})
})

Are there any TLS Extensions that a server can *require* the client send?

This question is a bit of a follow on to this Q&A:

TLS 1.2 Handshake: Does the server have to take all extensions sent by the Client?

If the client sends an Extension that the server does not recognize, the server can simply ignore it and continue with a Server Hello — the client is then free to terminate the session if that particular extension was required by the client, or continue the handshake without that extension.

My question: Are there any TLS Extensions which some servers might choose to require, thereby responding to a Client Hello which doesn’t include those extensions by terminating the session?

Granted, this could be different on a deployment by deployment basis, but if there are some extensions that might be lend themselves to being required by the server, they would suffice as the answer to this question.

dnd 5e – Do magic item spells require concentration?

That depends on if it is casting a spell, or granting a spell-like-effect

To cast an actual spell from an item, it requires your concentration. This is specified on page 141 of the DMG

(…) The spell uses its normal casting time, range, and duration, and the user of the item must concentrate if the spell requires concentration.

This rule would be used in the case of an item such as a Staff of Fire, which allows you to use it to cast the spell Wall of Fire (which requires concentration).

However, to cite the specific example you gave of a Ring of Invisibility. No.

Again, per the DMG, p141…

Many items, such as potions, bypass the casting of a spell and confer the spell’s effects.

The rule for concentration applies if the magic item allows you to cast a spell. It does not apply if the magic item grants you a spell-like effect. The stats on a Ring of Invisibility say

While wearing this ring, you can turn invisible as an action.

It does not say you can cast the spell Invisibility…just that you may turn Invisible as an action. This is an important distinction.

Thus, a Ring of Invisibility does NOT consume your concentration as it grants a spell-like effect, rather than allowing you to cast a spell. A Ring of Water Walking is another example of this, in that it allows you to walk on water at-will, rather than allowing you to cast the spell Water Walking.

Applications require accessibility access when using keyboard shortcut created with automator macOS Big Sur

I made a keyboard shortcut through automator. However, using the keyboard shortcut with any other app open in the background requires that application is granted accessibility access in system preferences. This is annoying, as I would have to do this for every application that I use this shortcut for, and also might maybe possibly be a security risk.

Any way around this?