
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ghost-webdav-storage-adapter
Advanced tools
A WebDAV storage adapter for the Ghost publishing platform
A WebDAV storage adapter for the Ghost publishing platform 3.x
npm install ghost-webdav-storage-adapter
mkdir -p ./content/adapters/storage/webdav
cp -v ./node_modules/ghost-webdav-storage-adapter/dist/*.js ./content/adapters/storage/webdav
Configure the WebDAV storage adapter by adding the following lines to the Ghost config file.
{
"storage": {
"active": "webdav",
"webdav": {
"url": "URL_TO_YOUR_WEBDAV_SERVER",
"username": "YOUR_WEBDAV_USERNAME",
"password": "YOUR_WEBDAV_PASSWORD",
"pathPrefix": "YOUR_PATH_PREFIX",
"storagePathPrefix": "YOUR_STORAGE_PATH_PREFIX"
}
}
}
NOTE: username
, password
, pathPrefix
and storagePathPrefix
are all optional.
The username
and password
configuration parameters are used in the Basic Auth access authentication on the WebDAV server.
Use a pathPrefix
if you prefer to limit access to the WebDAV server to a subtree. E.g. with a pathPrefix
of /ghost
all files will be stored under /ghost
and the adapter won't allow access to anything on the WebDAV server outside of /ghost
.
This adapter returns relative URLs for uploaded files. Requests to retrieve the file will be handled by Ghost as if they are stored on a local file system. This requires the returned URLs to start with the same prefix as Ghost's local storage adapter: /content/images
. This is the default value for storagePathPrefix
but you can provide a different prefix. Don't forget to create a Ghost route that routes requests for the prefix to the images store.
Alternatively, you can configure the WebDAV storage adapter by setting the following environment variables:
WEBDAV_SERVER_URL
WEBDAV_USERNAME // optional
WEBDAV_PASSWORD // optional
WEBDAV_PATH_PREFIX // optional
WEBDAV_STORAGE_PATH_PREFIX // optional
To debug the WebDAV storage adapter you can set environment variable DEBUG
to webdav
so that the adapter will log debug messages to standard out.
FAQs
A WebDAV storage adapter for the Ghost publishing platform
The npm package ghost-webdav-storage-adapter receives a total of 3 weekly downloads. As such, ghost-webdav-storage-adapter popularity was classified as not popular.
We found that ghost-webdav-storage-adapter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.