As a very fast and dirty solution to the authorization problem for an internally used web application (developed using asp.net core 2.1), I could put the old web.config file to good use: to allow certain users, add the following section: Similarly, to allow members of a certain AD group add the follwoing: For more information,Continue reading “ASP.Net Core and IIS: Use web.config to authorize Users/AD Groups”
I got the task of building a video streaming prototype based on the Azure Media Services the other day. All I had was a sample .mp4 video, and an azure Subscription for testing purposes, and of course the boundless ocean of knowledge, the internet. I gleaned information from Microsoft documentations, Stack Overflow, etc. and IContinue reading “From Local Video to Azure Media Services”
Recently I had to copy more than 50 secrets (names and values) from one Azure KeyVault to another one. The two KeyVaults are on different subscriptions. Doing this manually is very tiresome and error prone. So I decided to do it in the right way… Here is my favorite reference for Azure Powershell modules andContinue reading “Azure Key Vault: Transfer secrets using Powershell (Different Subscriptions)”
There is a Java-based web application in our company which is going to be extended to be able to communicate with a certain tax authority through an API. The tax authority issues a pfx file containing a key and a certificate and expects all API requests to contain the pfx (as base64 string) and its pin (the password for encrypting the pfx) in certain fields. The Java-based application uses a jks Java key store to store all kind of certificates and keys. The team has decided that the pfx should be stored in the key sore using Java Key Tool. The service responsible for communication with the tax authority then has to retrieve it and use it for the communication through the API. This is exactly what I am supposed to implement. Let’s startContinue reading “Java: Key store and pfx files”
Hi! I am Seaid Zarghani. I am a software developer. I often use google to find out how other developers have solved a certain problem. Here I want to share my solutions, hoping it saves someone else’s time a little.