JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q47355F
  • License Apache-2.0

JHipster blueprint to encrypt the ids of all entities in the UI and API.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-jhipster-encrypt-id) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    generator-jhipster-encrypt-id

    JHipster blueprint, encrypt-id blueprint for JHipster

    NPM version Generator

    Introduction

    This is a JHipster blueprint, that is meant to be used in a JHipster application.

    You can choose to encrypt the ids for all entities or choose the entities with encrypted ids from a list during generation.

    The blueprint will encrypt the ids of all selected entities in the user interface and the REST API, but NOT in the database. This is done to prohibit the users from guessing valid ids and by that preventing some kind of attacks against the application and also hiding some information, like the number of users, transactions, etc.

    Prerequisites

    As this is a JHipster blueprint, we expect you have JHipster and its related tools already installed:

    Installation

    To install or update this blueprint:

    npm install -g generator-jhipster-encrypt-id

    Usage

    To use this blueprint, run the below command

    jhipster-encrypt-id

    or

    jhipster --blueprints encrypt-id

    You can look for updated encrypt-id blueprint specific options by running

    jhipster-encrypt-id app --help

    And looking for (blueprint option: encrypt-id) options.

    Pre-release

    To use an unreleased version, install it using git.

    npm install -g jhipster/generator-jhipster-encrypt-id#main
    jhipster --blueprints encrypt-id --skip-jhipster-dependencies